[fpc-devel] TCustomApplication

Henry Vermaak henry.vermaak at gmail.com
Mon Aug 19 17:16:05 CEST 2013


On Mon, Aug 19, 2013 at 04:43:52PM +0200, Michael Schnell wrote:
> On 08/19/2013 04:31 PM, Henry Vermaak wrote:
> >How do you suppose that a mutex in linux will wake up an event loop?
> 
> The mutex gets taken before the loop is started. Now the loop blocks
> when taking it. It is freed whenever an event is scheduled.

So, only one event can ever wake up your even loop?  I usually use
select() or epoll().  I'm looking forward to seeing your implementation,
though.  However, judging by how long you've been talking about this, I
think I'll be retired by then.

Henry



More information about the fpc-devel mailing list