Hello,
https://www.purebasic.fr/english/viewto ... 67#p622567
PBJim has a point there and other frameworks typically have a separate (static) yield() method/function for threads.
https://en.cppreference.com/w/cpp/thread/yield
https://docs.oracle.com/javase/8/docs/a ... ml#yield--
https://doc.rust-lang.org/std/thread/fn.yield_now.html
ThreadYield() as alias for Delay(0)
-
- Addict
- Posts: 2344
- Joined: Mon Jun 02, 2003 9:16 am
- Location: Germany
- Contact:
ThreadYield() as alias for Delay(0)
bye,
Daniel
Daniel
Re: ThreadYield() as alias for Delay(0)
linux sched_yield()
windows SwitchToThread()
osx?
windows SwitchToThread()
osx?