For Programmers: Free Programming Magazines  


Home > Archive > Unix Programming > June 2007 > Pthreads listing API function?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Pthreads listing API function?
Boltar

2007-06-19, 7:09 pm


Is there a function in the pthreads API that will return some sort of
list giving all the threads that currently exist for the given
process? I realise its easy enough to create your own list of threads
but given the OS must already have the list itself I just wondered if
theres a way of getting it and not have to worry about writing my own
code to store one.

B2003

Maxim Yegorushkin

2007-06-19, 7:09 pm

On 19 Jun, 14:57, Boltar <boltar2...@yahoo.co.uk> wrote:

> Is there a function in the pthreads API that will return some sort of
> list giving all the threads that currently exist for the given
> process?


There is none.

Maxim Yegorushkin

2007-06-19, 7:09 pm

On 19 Jun, 16:38, Maxim Yegorushkin <maxim.yegorush...@gmail.com>
wrote:
> On 19 Jun, 14:57, Boltar <boltar2...@yahoo.co.uk> wrote:
>
>
> There is none.


Please see the list of pthread functions:
http://www.opengroup.org/onlinepubs...dx/threads.html


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com