> > Another alternative is to disable scheduling to protect your data. It > depends on how long you need to protect it. While the scheduler is > locked higher priority threads would be blocked from running if they > become runnable. If you just need to access a couple of items, it is > not too bad. If you need to walk a long linked list, then you might up > set your real time operation. > The problem is that I don't want to remove the mutex code as it is needed on other platforms. So as it looks I have to stay with the thread semaphore solution.
Alois -- Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
