User Tools

Site Tools


development

Whiteboard

Do not translate developer notes in other languages please.

Brainstorming

Rocs

The Rocs library is the platform dependent layer for Windows, Linux and OS X.
(OS/2 is no longer maintained.)

Thread save

Following functions are not thread save:

  • MapOp.first/next
  • ListOp.first/next

If two or more threads are using first/next on the same object at the same time the effect is unpredictable:

  • Odd results.
  • Endles loops.

This can also happen in the same thread if some kind of recursive function call the first function multiple.

Work arounds

  • Use the MapOp.get and the ListOp.get if possible.
  • Protect the operation with a mutex semaphore.
development.txt · Last modified: 2018/11/12 08:56 (external edit)