site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Resent-date: Wed, 19 Jan 2005 19:55:32 +0100 Resent-from: Nat! <nat@mulle-kybernetik.com> Resent-message-id: <EED5503A-6A49-11D9-B022-000D932EDFDE@mulle-kybernetik.com> Resent-to: darwin-dev@lists.apple.com Ciao Nat! ------------------------------------------------------ Just because nobody understands you does not mean you’re an artist. -- DLR _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... I'd like to do the following. In my library code I want to get a list of all threads of my process and the thread I am currently in myself (pthread_this()). What I then want to do is suspend all the other threads, do a little processing and then resume all the other threads. The general idea is something akin to a "full garbage collection". The effect would be a process-wide mutex without the mutex. man pthread didn't give much help. Where should I look for documentation or even better sample code to steal ? This email sent to site_archiver@lists.apple.com