forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Sleep?

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
codemaster



Joined: 18 Mar 2010
Posts: 5

PostPosted: Thu Mar 18, 2010 10:01 am    Post subject: Sleep? Reply with quote

At first,

many thanks to all you who participated in the SDK development.
This is a great thing, that people like us - developers can now code the PSP devices.



Here is the main actual quest :)

anything like a "Sleep(int ms)" function in the sdk ?
_________________
perfection is the key.
Back to top
View user's profile Send private message Visit poster's website
codemaster



Joined: 18 Mar 2010
Posts: 5

PostPosted: Thu Mar 18, 2010 10:15 am    Post subject: Reply with quote

I think i've got it:

sceKernelDelayThread

can someone please confirm this is the correct way of delaying active thread?

Code:
  sceKernelDelayThread(10*1000000); // 10sec

_________________
perfection is the key.
Back to top
View user's profile Send private message Visit poster's website
arnie



Joined: 11 Apr 2009
Posts: 16

PostPosted: Thu Mar 18, 2010 4:08 pm    Post subject: Reply with quote

Yes.

-Arnold
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group