[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-users] Posix threading

From: Julian Morrison
Subject: [Chicken-users] Posix threading
Date: Thu, 10 Mar 2005 23:26:00 +0000
User-agent: Debian Thunderbird 1.0 (X11/20050116)

I'm not entirely certain, but I think Chicken's stack-based gc mechanism makes Posix threading impossible - am I right? Stack allocated stuff can't be visible across threads with seperate stacks, and heap allocated stuff can be moved by GC.

Perhaps Posix threaded programs could work, provided they only rely upon "evicted" shared data?

Posix threads are good because (1) they allow blocking kernel calls to only block one thread (2) they take full advantage of multiple CPUs, hyperthreading processors, etc.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]