Re: [fpc-pascal] Please Help - Need ONE HINT - Trying to get

2006-09-16 Thread Jason P Sage
Jason Sage wrote: Hi all - and thanks to who ever can respond in advance. I have a Server Like App - I need the equivalent of sched_yield Tried sleep(0); yet ? Micha Yes. Sleep has been added where appropriate. I didn't know to try Sleep ZERO. That sounds better than my Sleep(10).

Re: [fpc-pascal] Please Help - Need ONE HINT - Trying to get

2006-09-16 Thread Marc Santhoff
Am Samstag, den 16.09.2006, 09:54 -0400 schrieb Jason P Sage: Jason Sage wrote: Hi all - and thanks to who ever can respond in advance. I have a Server Like App - I need the equivalent of sched_yield Tried sleep(0); yet ? Micha Yes. Sleep has been added where

Re: [fpc-pascal] Please Help - Need ONE HINT - Trying to get

2006-09-16 Thread Micha Nelissen
Jason P Sage wrote: I was trying to avoid sysutils sleep(0) in linux platform due to the size of sysutils. The fact I don't know how to make dynamic linking work on linux yet - (use shared libs versus static) makes my exe's bigger than I would like. In most of my applications, size isn't an

[fpc-pascal] Please Help - Need ONE HINT - Trying to get something like sched_yield with free pascal in linux

2006-09-15 Thread Jason Sage
Hi all and thanks to who ever can respond in advance. I have a Server Like App I need the equivalent of sched_yield I looked in oldlinux unit, and tried the syscallregs , I tried to use the time structure with it and the syscall_nr_sched_yield (=158) parameter. The problem is

Re: [fpc-pascal] Please Help - Need ONE HINT - Trying to get something like sched_yield with free pascal in linux

2006-09-15 Thread Micha Nelissen
Jason Sage wrote: Hi all – and thanks to who ever can respond in advance. I have a Server Like App – I need the equivalent of sched_yield Tried sleep(0); yet ? Micha ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org