Re: pthread has error on Debian Etch

2007-03-25 Thread Ben Hutchings
On Sun, 2007-03-25 at 02:17 -0400, Mohsen Pahlevanzadeh wrote: > My distro is Debian Etch. > kernel is 2.6.18 > I have post it to pthread mailing list, It was the c++-pthreads mailing list, where your *C* program is clearly off-topic. > They said me that i reinstall > libc6-dev package,i reinsta

Re: pthread has error on Debian Etch

2007-03-25 Thread Greg Folkert
On Sun, 2007-03-25 at 00:45 -0400, Kevin Mark wrote: > On Sun, Mar 25, 2007 at 01:17:23AM -0400, Mohsen Pahlevanzadeh wrote: > > > > My distro is Debian Etch. > > kernel is 2.6.18 > > I have post it to pthread mailing list,They said me that i reinstall > > libc6-dev package,i reinstalled it,But i

Re: pthread has error on Debian Etch

2007-03-24 Thread Kevin Mark
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sun, Mar 25, 2007 at 01:17:23AM -0400, Mohsen Pahlevanzadeh wrote: > > My distro is Debian Etch. > kernel is 2.6.18 > I have post it to pthread mailing list,They said me that i reinstall > libc6-dev package,i reinstalled it,But i see given errors.

pthread has error on Debian Etch

2007-03-24 Thread Mohsen Pahlevanzadeh
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dear all, I wrote following code : #include #include #include int g1=0; int g2=0; void *task1(int *counter); //void task2(int *counter); void cleanup(int counter1,int counter2); int main(int argc,char *argv[]) { pthread_t thr1,thr2;