Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.programming.threads > #2311

sched_yield

From aminer <aminer@toto.net>
Newsgroups comp.programming.threads, comp.programming
Subject sched_yield
Date 2014-05-07 11:34 -0700
Organization albasani.net
Message-ID <lkdjpf$lvb$1@news.albasani.net> (permalink)

Cross-posted to 2 groups.

Show all headers | View raw


Melzzzzz wrote:
 >I guess that he expects same behavior both on Unices and Windows.
 >This is not the case. He should use sched_yield at least on Linux...


The source code inside the zipfile was updated and i have
corrected this and used the ThreadSwitch() function inside
freepacal , i think ThreadSwitch() calls sched_yield.



Thank you,
Amine Moulay Ramdane.

Back to comp.programming.threads | Previous | Next | Find similar | Unroll thread


Thread

sched_yield aminer <aminer@toto.net> - 2014-05-07 11:34 -0700

csiph-web