Board.KolibriOS.org

Official KolibriOS board
It is currently Thu Feb 27, 2020 10:40 am

All times are UTC+03:00




Post new topic  Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Fri Jan 16, 2015 10:54 pm 
Offline
User avatar

Joined: Fri Jan 16, 2015 10:49 pm
Posts: 2
Hello there,

Current I am using interruption -1 to end current thread, but I am searching for an option of ending all threads for active process. Is this already possible?

If not, is there a function to return a list of all threads for current process?

_________________
Image
Ziron Programming Language
Download the Assembler HERE


Top
   
PostPosted: Sat Jan 17, 2015 3:02 pm 
Offline
Mentor/Kernel Developer
User avatar

Joined: Fri Jun 30, 2006 9:01 am
Posts: 1248
Unfortunately, last time I checked, the kernel did not know the difference between a thread and a process yet.

_________________
"Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction." Albert Einstein


Top
   
PostPosted: Sat Jan 17, 2015 3:15 pm 
Offline
User avatar

Joined: Fri Jan 16, 2015 10:49 pm
Posts: 2
Hi there,

Thanks for the reply. Do the processes have a "parent" property? Which would make it possible to iterate through the processes and end all with parent x.

If all else fails, I guess I will need to write some kind of thread management utility with a linkedlist of thread/process ids.

_________________
Image
Ziron Programming Language
Download the Assembler HERE


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

All times are UTC+03:00


Who is online

Users browsing this forum: No registered users and 1 guest


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