-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Greg Folkert wrote:
> On Mon, 2007-03-26 at 20:32 -0400, Roberto C. Sánchez wrote:
>> On Mon, Mar 26, 2007 at 08:27:36PM -0400, Greg Folkert wrote:
>>> On Tue, 2007-03-27 at 10:59 +0330, Mohsen Pahlevanzadeh wrote:
My problem was solved.Since i re
On Mon, Mar 26, 2007 at 08:32:20PM -0400, Roberto C. Sánchez wrote:
> On Mon, Mar 26, 2007 at 08:27:36PM -0400, Greg Folkert wrote:
> > On Tue, 2007-03-27 at 10:59 +0330, Mohsen Pahlevanzadeh wrote:
> > > My problem was solved.Since i reinstall pthread library,My program has
> > > been working fine
On Mon, Mar 26, 2007 at 08:53:18PM -0400, Greg Folkert wrote:
> On Mon, 2007-03-26 at 20:32 -0400, Roberto C. Sánchez wrote:
> >
> > I'm not sure if you follow the debian-devel list, but apparently a kind
> > Debian Developer on the c++-pthreads list recommended the Moshen
> > reinstall his libc6-
On Mon, 2007-03-26 at 20:32 -0400, Roberto C. Sánchez wrote:
> On Mon, Mar 26, 2007 at 08:27:36PM -0400, Greg Folkert wrote:
> > On Tue, 2007-03-27 at 10:59 +0330, Mohsen Pahlevanzadeh wrote:
> > > My problem was solved.Since i reinstall pthread library,My program has
> > > been working fine.
> > >
On Mon, Mar 26, 2007 at 08:27:36PM -0400, Greg Folkert wrote:
> On Tue, 2007-03-27 at 10:59 +0330, Mohsen Pahlevanzadeh wrote:
> > My problem was solved.Since i reinstall pthread library,My program has
> > been working fine.
> > - --Mohsen
>
> I hate to tell you this, but you have contradicted you
On Tue, 2007-03-27 at 10:59 +0330, Mohsen Pahlevanzadeh wrote:
> My problem was solved.Since i reinstall pthread library,My program has
> been working fine.
> - --Mohsen
I hate to tell you this, but you have contradicted yourself three times
now.
You are not dealing with Windows where "Remove and
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
My problem was solved.Since i reinstall pthread library,My program has
been working fine.
- --Mohsen
Kevin Mark wrote:
> On Tue, Mar 27, 2007 at 05:33:07AM +0330, Mohsen Pahlevanzadeh wrote:
>> Wackojacko wrote:
>>> Mohsen Pahlevanzadeh wrote:
Jha
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Tue, Mar 27, 2007 at 05:33:07AM +0330, Mohsen Pahlevanzadeh wrote:
> Wackojacko wrote:
> > Mohsen Pahlevanzadeh wrote:
> >> Jhair Tocancipa Triana wrote:
> >>> Mohsen Pahlevanzadeh writes:
> >>>
> void *task1(int *counter)
> {
>
Wackojacko wrote:
> Mohsen Pahlevanzadeh wrote:
>> Jhair Tocancipa Triana wrote:
>>> Mohsen Pahlevanzadeh writes:
>>>
void *task1(int *counter)
{
while(*counter < 5 ){
printf("task1 count: %d\n",*counter);
(*counter)++;
}
Mohsen Pahlevanzadeh wrote:
Jhair Tocancipa Triana wrote:
Mohsen Pahlevanzadeh writes:
void *task1(int *counter)
{
while(*counter < 5 ){
printf("task1 count: %d\n",*counter);
(*counter)++;
}//end of while
You are missing a parenthesis here.
vo
Jhair Tocancipa Triana wrote:
> Mohsen Pahlevanzadeh writes:
>
>> void *task1(int *counter)
>> {
>> while(*counter < 5 ){
>> printf("task1 count: %d\n",*counter);
>> (*counter)++;
>> }//end of while
>
> You are missing a parenthesis here.
>
>> void
Mohsen Pahlevanzadeh writes:
> void *task1(int *counter)
> {
> while(*counter < 5 ){
> printf("task1 count: %d\n",*counter);
> (*counter)++;
> }//end of while
You are missing a parenthesis here.
> void cleanup(int counter1,int counter2)
> {
>
-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;
13 matches
Mail list logo