Board.KolibriOS.org

Official KolibriOS board
It is currently Wed Dec 08, 2021 3:11 pm

All times are UTC+03:00




Post new topic  Reply to topic  [ 2 posts ] 
Author Message
 Post subject: function 9 valid slot
PostPosted: Sat Mar 15, 2014 3:08 am 
Offline
KSoC/GSoC Student

Joined: Thu Mar 13, 2014 8:09 pm
Posts: 6
From what I understand, API function 9 takes in ECX the slot number of a thread and after the execution EAX should contain the maximum slot number.
Also in the remarks it states that:
"Returned value is not a total number of threads, because there can be free slots."
Is there a way function 9 would say if the slot number I'm asking for is a valid thread ?


Top
   
PostPosted: Sat Mar 15, 2014 7:18 am 
Offline

Joined: Sun Oct 30, 2011 6:43 pm
Posts: 1498
Yoг may check status of the thread slot: http://websvn.kolibrios.org/filedetails ... t#line-352
And if it is 9 then requested slot is free.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 2 posts ] 

All times are UTC+03:00


Who is online

Users browsing this forum: No registered users and 3 guests


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 post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited