> cc -pthread test.c
i tried that too. that works for test.c, which doesn't reference
anything, but in more complex programs, it dies. i wish i knew why.
check this out:
this is the command to link testgthread from the glib library without
-lc_r and without -pthread:
--
Hi. On linux, I know that when compiling threaded code I need to
#define _REENTRANT. What's the right thing to do on FreeBSD? I've
searched around the FreeBSD pages and have come up empty. I googled
around and found a post from a Mozilla page recommending I #define
_THREAD_SAFE. I'd just like
[This was sent to questions last week, but I got no reply there.
Maybe you hackers know the answer?]
Hi. I'm trying to install FreeBSD 4.3R on an IBM 560x laptop. I'm
using a 32-bit 3Com Fast EtherLink XL 3C575-TX card. On boot, I've
experimented with a bunch of PCMCIA IRQ options and got the
> hi. i've searched the handbook, tutorial, FAQ, and parts of the
> mailing list archives but haven't found direct answers to the
> following questions. i hope you don't mind answering them for me; it
> will save me a lot of time looking through the code, and / or writing
> test cases:
john mil
thanks for the quick reply...
> > 3. if preemptive, does that occur at user-level, or by the kernel?
> >(and how costly is it?)
>
> It's a mix, and very cheap.
sounds pretty neat. is there a design document somewhere where i can
read up on this for fun?
> > 4. if one thread makes a system
hi. i've searched the handbook, tutorial, FAQ, and parts of the
mailing list archives but haven't found direct answers to the
following questions. i hope you don't mind answering them for me; it
will save me a lot of time looking through the code, and / or writing
test cases:
let's say i'm runn
6 matches
Mail list logo