Hello,
thanks for all your help again first.
As I stated in a previous question, I'v been learning C now for only some
weeks. It seems that I started to work on a project that Is far far away
from my knowledge :-) On the other hand I don't like learning in small
steps. I always try to reach somet
Hello,
I have a very strange problem here, which is that I can only
define a limited amount of variables within a multithreaded
program.
Some days ago I described the following problem:
>I want to write a programm which checks if a server is up by
>pinging it. I looks like that:
#
Hello,
first let me thank all of you for all your great help and the dozens
of responses I got.
Unfortunately I have a very strange problem in a multithreaded
programm I'm writing now. I want to write a programm which
checks if a server is up by pinging it. I looks like that:
###
Hello,
From: Kip Macy <[EMAIL PROTECTED]>
To: Richard Seaman, Jr. <[EMAIL PROTECTED]>
> They may be preemptive, but I saw a lot of instances with Lyris where one
> thread could easily monopolize processor time at the expense of all
> others and I had to add sleeps in at places.
Does this mean I
Hello,
> On Mon, Dec 27, 1999 at 09:34:49AM -0800, Kip Macy wrote:
>
> > The words "POSIX threads" only describes the API. It says nothing about
> > the implementation. On FreeBSD they are non-preemptive user level
threads
> > (your main was never yielding so the thread you launched did not get a
Hello,
thanks for all your help on my previous posting. Meanwhile my
thread-test works as I followed your instructions and included
a sleep() call.
But on experimenting on this topic I exchanged the sleep() call
with a "while(1);" and had to see that the programm doesn't work
any more.
Why?
I th
Hello,
I'm learning C now for some weeks and today I wanted to program
POSIX threads. Unfortunately my source seems not to run. Could you
please have a look at my code and tell me whats wrong:
#include
#include
#include
void print( char *string ){
fprintf(stderr,"String: %s\n",string);
}
7 matches
Mail list logo