Jump to content
View in the app

A better way to browse. Learn more.

Tinkerunity

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[C#] Sind die Methoden der Bricks und Bricklets alle threadsafe?

Featured Replies

Geschrieben

Hallo!

 

Bin hier noch recht neu und habe gerade Gestern erst mit dem Starter-Kit von Tinkerforge begonnen etwas zu experimentieren. Hierzu eine Frage bzgl. der Programmierung in C#:

 

- Sind alle API-Aufrufe der Bricks und Bricklets threadsafe, oder muss ich das selber regeln? Ist z.B. die Textausgabe des LCD20*4 threadsicher, oder muss ich sicherstellen, dass immer nur ein Thread die Textausgabe ansteuert. Aus der doch recht knappen Doku ist mir das leider nicht ersichtlich geworden.

 

MfG

Ralph

Geschrieben
  • Autor

Hallo!

 

Danke für die schnelle (und für sehr beruhigende, da Arbeit sparende ;)) Antwort. Da ich dies für einen sehr wichtigen Aspekt an der Entwicklung mit asynchronen Systemen in der Datenverarbeitung halte sollte man diesen Vorteil meiner Ansicht nach gesondert in den Dokumenten zur Programmierung hervorheben.

 

MfG

Ralph

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Gast
Reply to this topic...

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.