Re: OSThreads, Threads, and Gates
"Mark Hahn" <[email protected]>
| Newsgroups | gmane.comp.lang.prothon.user |
|---|---|
| Message-ID | <[email protected]> |
"Rod Haper" <[email protected]> wrote > Have a look at Ada95 as a model for excellent builtin language support > of multi-tasking, synchronization and concurrency (ARM Section 9 > <http://www.adaic.org/standards/95lrm/html/RM-9.html>). Also the Ada95 > Real-Time Systems annex (ARM Section D > <http://www.adaic.org/standards/95lrm/html/RM-D.html>) and the Systems > Programming annex (ARM Section C > <http://www.adaic.org/standards/95lrm/html/RM-C.html>). This was quite useful. They have a pretty standard thread model, like Java, but they do allow aborting a thread. They do the same thing I was proposing where they delay the abort until the protected lock operations are finished. This is good news.