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


Groups > comp.programming.threads > #2311 > unrolled thread

sched_yield

Started byaminer <aminer@toto.net>
First post2014-05-07 11:34 -0700
Last post2014-05-07 11:34 -0700
Articles 1 — 1 participant

Back to article view | Back to comp.programming.threads


Contents

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

#2311 — sched_yield

Fromaminer <aminer@toto.net>
Date2014-05-07 11:34 -0700
Subjectsched_yield
Message-ID<lkdjpf$lvb$1@news.albasani.net>
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.

[toc] | [standalone]


Back to top | Article view | comp.programming.threads


csiph-web