Re: Re[2]: euLibnet and IRC

new topic     » goto parent     » topic index » view thread      » older message » newer message

On 31 May 2001, at 22:42, Thomas Parslow (PatRat) wrote:

> 
> 
> > What i was hoping is if sleep(0) can be used to revert control to win32lib,
> > and
> > a higher priority task was found in the task que there, win32lib could
> > shuffle
> > the scheduled tasks so the line following the sleep(0) would not always be 
> > the next line executed, and this would eliminate some time spent polling the
> >
> > socket or continuously reading the ServerNeedsAttention(sock_connect[2]). 
> > It would be a cheap way to make pseudo-threads, by setting these priority
> > flags, and the highest priority gets the cpu after the sleep(0).
> 
> Hi,
> 
> That's pretty much what win32lib's doEvents(0) function does...

I hope someone bright, who can do windows programming, will pounce on this and
give
us an example! smile

Kat

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu