Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
76 user(s) are online (43 user(s) are browsing Forums)

Members: 0
Guests: 76

more...

Support us!

Headlines

 
  Register To Post  

sched_yield
Just can't stay away
Just can't stay away


See User information
sched_yield() is (afaik) supposed to make the current task/thread
jump to the back of the task list. Is there some way to do/emulate this
with exec or pthreads?

Go to top
Re: sched_yield
Home away from home
Home away from home


See User information
@alfkil

Quote:
alfkil wrote:
sched_yield() is (afaik) supposed to make the current task/thread
jump to the back of the task list. Is there some way to do/emulate this
with exec or pthreads?
struct Task *me = IExec->FindTask(NULL);
IExec->SetTaskPri(me, me->tc_Node.ln_Pri);

Go to top
Re: sched_yield
Just can't stay away
Just can't stay away


See User information
@joerg

Just saw your response now. Thanks J?rg!

Go to top

  Register To Post

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )



Polls
Running AmigaOS 4 on?
AmigaOne SE/XE or microA1 12% (26)
Pegasos2 3% (8)
X5000 22% (48)
X1000 14% (30)
A1222 8% (19)
Sam 440/460 18% (40)
Classic PowerPC Amiga 2% (6)
WinUAE emulation 7% (16)
Qemu emulation 9% (21)
Total Votes: 214
The poll closed at 2025/12/1 12:00
6 Comments


Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project