Pumpkin, Inc.

Pumpkin User Forums

OS_WaitEFLag()

If you can't make Salvo do what you want it to do, post it here.

OS_WaitEFLag()

Postby Juil » Thu May 17, 2007 12:49 am

i want to use OS_WaitEFLag()with a timeout,
&i use it like this OS_WaitEflag(EFLAG_COMMAND_P,MOVE_COMMAND,OSEXACT_BITS,2,TaskMoveControl)
but it doesn't response.
Why?
Thanks a lot,aek!
Juil
 
Posts: 5
Joined: Sun May 06, 2007 11:00 pm
Location: Hefei,Anhui,China

Re: OS_WaitEFLag()

Postby aek » Thu May 17, 2007 4:51 am

1) Make sure you are using a timeout-enabled library. (-t configuration).

2) See use of OSTimedOut().

------------------

-------
aek
aek
 
Posts: 1888
Joined: Sat Aug 26, 2000 11:00 pm

Re: OS_WaitEFLag()

Postby Juil » Thu May 17, 2007 5:58 am

thank you,i'm too careless.
i was always using sfp82lab.lib

Juil
 
Posts: 5
Joined: Sun May 06, 2007 11:00 pm
Location: Hefei,Anhui,China


Return to Coding

Who is online

Users browsing this forum: No registered users and 0 guests

cron