[Lazarus] PostMessage return value
pascaldragon at googlemail.com
Thu Sep 18 11:36:44 CEST 2014
Am 18.09.2014 11:03 schrieb "Michael Schnell" <mschnell at lumino.de>:
> On 09/18/2014 10:32 AM, Xiangrong Fang wrote:
>> I don't quite understand the logic or difference between critical
>> and events.
> They have nothing in common.
> TCriticalSection is a Semaphore (see Wikipedia)
> An event is a callback procedure ->
> Sorry, but you will not be able to do such a project unless you
understand such basic computer science primitives.
You are wrong. A critical section is a mutex and an event in this context
is a binary semaphore.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Lazarus