Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c++ > #8244

Re: simple pthread

From Ian Collins <ian-news@hotmail.com>
Newsgroups comp.lang.c++
Subject Re: simple pthread
Date 2011-07-26 22:39 +1200
Message-ID <997jqqFkjuU17@mid.individual.net> (permalink)
References (2 earlier) <9adbecbc-a4fa-47d0-a667-040a36f0fd7f@28g2000pry.googlegroups.com> <d7dba757-ed45-4a21-b086-e4b62b363e1d@u6g2000prc.googlegroups.com> <4e2e730d$0$44198$4fafbaef@reader1.news.tin.it> <4e2e7ad0$0$15664$4fafbaef@reader2.news.tin.it> <4e2e98a0$0$44201$4fafbaef@reader1.news.tin.it>

Show all headers | View raw


On 07/26/11 10:38 PM, io_x wrote:
> "io_x"<a@b.c.invalid>  ha scritto nel messaggio
> news:4e2e7ad0$0$15664$4fafbaef@reader2.news.tin.it...
>
> what do you think about this?
> It is a good way for threads?
>
> #include<stdio.h>
> #include<iostream.h>
> #include<windows.h>
>
> unsigned  count=0;
> unsigned  index=-1;
> unsigned  array[256];
>
> #define   ini     InitializeCriticalSection

NO!

-- 
Ian Collins

Back to comp.lang.c++ | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

simple pthread cerr <ron.eggler@gmail.com> - 2011-07-25 20:45 -0700
  Re: simple pthread red floyd <no.spam.here@its.invalid> - 2011-07-25 20:55 -0700
  Re: simple pthread Ian Collins <ian-news@hotmail.com> - 2011-07-26 15:56 +1200
  Re: simple pthread "Alf P. Steinbach" <alf.p.steinbach:usenet@gmail.com> - 2011-07-26 08:28 +0200
    Re: simple pthread cerr <ron.eggler@gmail.com> - 2011-07-25 23:31 -0700
      Re: simple pthread cerr <ron.eggler@gmail.com> - 2011-07-25 23:53 -0700
        Re: simple pthread Ian Collins <ian-news@hotmail.com> - 2011-07-26 19:43 +1200
        Re: simple pthread "io_x" <a@b.c.invalid> - 2011-07-26 09:57 +0200
          Re: simple pthread "io_x" <a@b.c.invalid> - 2011-07-26 10:31 +0200
            Re: simple pthread "io_x" <a@b.c.invalid> - 2011-07-26 12:38 +0200
              Re: simple pthread Ian Collins <ian-news@hotmail.com> - 2011-07-26 22:39 +1200
          Re: simple pthread Ian Collins <ian-news@hotmail.com> - 2011-07-26 22:41 +1200

csiph-web