public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Pthreads in cygwin
@ 1999-02-18  1:37 Christian Brunschen
  1999-02-18  2:31 ` Stipe Tolj
  1999-02-28 23:02 ` Christian Brunschen
  0 siblings, 2 replies; 10+ messages in thread
From: Christian Brunschen @ 1999-02-18  1:37 UTC (permalink / raw)
  To: cygwin

Hi,

I was wondering how I would go about using pthreads in cygwin? The b20.1
release does not appear to support them, but more recent snapshots do
contain what looks like pthreads support.

Best regards 

// Christian Brunschen



--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Pthreads in cygwin
  1999-02-18  1:37 Pthreads in cygwin Christian Brunschen
@ 1999-02-18  2:31 ` Stipe Tolj
       [not found]   ` < 36CBEB4D.1596E9F8@uni-duesseldorf.de >
  1999-02-28 23:02   ` Stipe Tolj
  1999-02-28 23:02 ` Christian Brunschen
  1 sibling, 2 replies; 10+ messages in thread
From: Stipe Tolj @ 1999-02-18  2:31 UTC (permalink / raw)
  To: Christian Brunschen; +Cc: cygwin

> I was wondering how I would go about using pthreads in cygwin? The b20.1
> release does not appear to support them, but more recent snapshots do
> contain what looks like pthreads support.

That's right. Recent snapshots support the --enable-threadsafe for the
configure process. The build cygwin1.dll and dependend libs will implement
some pthread_* functions as usually available within the libpthread.a
library (i.e. MIT's pthread) on other systems.

As Geoffrey and other from Cygnus have stated the pthread functions within
the latest snapshots are *very expertimental* and may not work at all.

I have tried to compile some simple example programs using pthread
functions. They do build, but crash with a segmentation fault error on a
Win98 box.

Regards,
Stipe

--
Stipe Tolj <tolj@uni-duesseldorf.de>

Cygwin Porting Project -- "We build UNIX on top of Windows"
http://www.student.uni-koeln.de/cygwin/

Department of Economical Computer Science
University of Cologne, Germany




--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Pthreads in cygwin
       [not found]   ` < 36CBEB4D.1596E9F8@uni-duesseldorf.de >
@ 1999-02-18  2:42     ` Christian Brunschen
       [not found]       ` < Pine.LNX.4.05-df.9902181139530.29904-100000@bartlet.df.lth.se >
  1999-02-28 23:02       ` Christian Brunschen
  0 siblings, 2 replies; 10+ messages in thread
From: Christian Brunschen @ 1999-02-18  2:42 UTC (permalink / raw)
  To: Stipe Tolj; +Cc: cygwin

On Thu, 18 Feb 1999, Stipe Tolj wrote:

> > I was wondering how I would go about using pthreads in cygwin? The b20.1
> > release does not appear to support them, but more recent snapshots do
> > contain what looks like pthreads support.
> 
> That's right. Recent snapshots support the --enable-threadsafe for the
> configure process. The build cygwin1.dll and dependend libs will implement
> some pthread_* functions as usually available within the libpthread.a
> library (i.e. MIT's pthread) on other systems.
> 
> As Geoffrey and other from Cygnus have stated the pthread functions within
> the latest snapshots are *very expertimental* and may not work at all.

Ah, great :)

Thanks for your help!

> 
> I have tried to compile some simple example programs using pthread
> functions. They do build, but crash with a segmentation fault error on a
> Win98 box.

I'll just wait a while longer before trying to use it, then.

> 
> Regards,
> Stipe

Vielen Dank und Beste Gruesse(*),

// Christian Brunschen

(*): Diese Tastatur hat natuerlich weder das U" noch das SZ ...


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Pthreads in cygwin
       [not found]       ` < Pine.LNX.4.05-df.9902181139530.29904-100000@bartlet.df.lth.se >
@ 1999-02-18 11:37         ` Christopher Faylor
  1999-02-18 15:14           ` Stipe Tolj
  1999-02-28 23:02           ` Christopher Faylor
  0 siblings, 2 replies; 10+ messages in thread
From: Christopher Faylor @ 1999-02-18 11:37 UTC (permalink / raw)
  To: Christian Brunschen, Stipe Tolj; +Cc: cygwin

On Thu, Feb 18, 1999 at 11:42:47AM +0100, Christian Brunschen wrote:
>On Thu, 18 Feb 1999, Stipe Tolj wrote:
>
>> > I was wondering how I would go about using pthreads in cygwin? The b20.1
>> > release does not appear to support them, but more recent snapshots do
>> > contain what looks like pthreads support.
>> 
>> That's right. Recent snapshots support the --enable-threadsafe for the
>> configure process. The build cygwin1.dll and dependend libs will implement
>> some pthread_* functions as usually available within the libpthread.a
>> library (i.e. MIT's pthread) on other systems.
>> 
>> As Geoffrey and other from Cygnus have stated the pthread functions within
>> the latest snapshots are *very expertimental* and may not work at all.
>
>Ah, great :)
>
>Thanks for your help!
>
>> 
>> I have tried to compile some simple example programs using pthread
>> functions. They do build, but crash with a segmentation fault error on a
>> Win98 box.
>
>I'll just wait a while longer before trying to use it, then.

Actually, since this is a free software project, I was kinda hoping that
people might be willing to provide fixes for any problems they are
running across.  Waiting for things to improve will probably work but
volunteers could speed this along.

Otherwise, if anyone wants to send *detailed* information on problems I
can at least archive it until we have time to work on pthreads again.
Detailed information would be, at a minimum, a stack dump from the
SIGSEGV, minimal source code to reproduce the problem, and instructions
for reproducing the problem.

cgf

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Pthreads in cygwin
  1999-02-18 11:37         ` Christopher Faylor
@ 1999-02-18 15:14           ` Stipe Tolj
  1999-02-28 23:02             ` Stipe Tolj
  1999-02-28 23:02           ` Christopher Faylor
  1 sibling, 1 reply; 10+ messages in thread
From: Stipe Tolj @ 1999-02-18 15:14 UTC (permalink / raw)
  To: Christopher Faylor; +Cc: Christian Brunschen, cygwin

> Actually, since this is a free software project, I was kinda hoping that
> people might be willing to provide fixes for any problems they are
> running across.  Waiting for things to improve will probably work but
> volunteers could speed this along.

FYI, sorry, but as some of us (like me) are more concerned with work on porting
software to the cygwin platform we mostly haven't the time or detailed pthread
knowledge (like me :)) to work on the internal details of cygwin.

> Otherwise, if anyone wants to send *detailed* information on problems I
> can at least archive it until we have time to work on pthreads again.
> Detailed information would be, at a minimum, a stack dump from the
> SIGSEGV, minimal source code to reproduce the problem, and instructions
> for reproducing the problem.

Thanks a lot for the offer. I'll mail you the detailed information, ASAP.

Regards,
Stipe

--
Stipe Tolj <tolj@uni-duesseldorf.de>

Cygwin Porting Project -- "We build UNIX on top of Windows"
http://www.student.uni-koeln.de/cygwin/

Department of Economical Computer Science
University of Cologne, Germany




--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Pthreads in cygwin
  1999-02-18 15:14           ` Stipe Tolj
@ 1999-02-28 23:02             ` Stipe Tolj
  0 siblings, 0 replies; 10+ messages in thread
From: Stipe Tolj @ 1999-02-28 23:02 UTC (permalink / raw)
  To: Christopher Faylor; +Cc: Christian Brunschen, cygwin

> Actually, since this is a free software project, I was kinda hoping that
> people might be willing to provide fixes for any problems they are
> running across.  Waiting for things to improve will probably work but
> volunteers could speed this along.

FYI, sorry, but as some of us (like me) are more concerned with work on porting
software to the cygwin platform we mostly haven't the time or detailed pthread
knowledge (like me :)) to work on the internal details of cygwin.

> Otherwise, if anyone wants to send *detailed* information on problems I
> can at least archive it until we have time to work on pthreads again.
> Detailed information would be, at a minimum, a stack dump from the
> SIGSEGV, minimal source code to reproduce the problem, and instructions
> for reproducing the problem.

Thanks a lot for the offer. I'll mail you the detailed information, ASAP.

Regards,
Stipe

--
Stipe Tolj <tolj@uni-duesseldorf.de>

Cygwin Porting Project -- "We build UNIX on top of Windows"
http://www.student.uni-koeln.de/cygwin/

Department of Economical Computer Science
University of Cologne, Germany




--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Pthreads in cygwin
  1999-02-18  2:31 ` Stipe Tolj
       [not found]   ` < 36CBEB4D.1596E9F8@uni-duesseldorf.de >
@ 1999-02-28 23:02   ` Stipe Tolj
  1 sibling, 0 replies; 10+ messages in thread
From: Stipe Tolj @ 1999-02-28 23:02 UTC (permalink / raw)
  To: Christian Brunschen; +Cc: cygwin

> I was wondering how I would go about using pthreads in cygwin? The b20.1
> release does not appear to support them, but more recent snapshots do
> contain what looks like pthreads support.

That's right. Recent snapshots support the --enable-threadsafe for the
configure process. The build cygwin1.dll and dependend libs will implement
some pthread_* functions as usually available within the libpthread.a
library (i.e. MIT's pthread) on other systems.

As Geoffrey and other from Cygnus have stated the pthread functions within
the latest snapshots are *very expertimental* and may not work at all.

I have tried to compile some simple example programs using pthread
functions. They do build, but crash with a segmentation fault error on a
Win98 box.

Regards,
Stipe

--
Stipe Tolj <tolj@uni-duesseldorf.de>

Cygwin Porting Project -- "We build UNIX on top of Windows"
http://www.student.uni-koeln.de/cygwin/

Department of Economical Computer Science
University of Cologne, Germany




--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Pthreads in cygwin
  1999-02-18  2:42     ` Christian Brunschen
       [not found]       ` < Pine.LNX.4.05-df.9902181139530.29904-100000@bartlet.df.lth.se >
@ 1999-02-28 23:02       ` Christian Brunschen
  1 sibling, 0 replies; 10+ messages in thread
From: Christian Brunschen @ 1999-02-28 23:02 UTC (permalink / raw)
  To: Stipe Tolj; +Cc: cygwin

On Thu, 18 Feb 1999, Stipe Tolj wrote:

> > I was wondering how I would go about using pthreads in cygwin? The b20.1
> > release does not appear to support them, but more recent snapshots do
> > contain what looks like pthreads support.
> 
> That's right. Recent snapshots support the --enable-threadsafe for the
> configure process. The build cygwin1.dll and dependend libs will implement
> some pthread_* functions as usually available within the libpthread.a
> library (i.e. MIT's pthread) on other systems.
> 
> As Geoffrey and other from Cygnus have stated the pthread functions within
> the latest snapshots are *very expertimental* and may not work at all.

Ah, great :)

Thanks for your help!

> 
> I have tried to compile some simple example programs using pthread
> functions. They do build, but crash with a segmentation fault error on a
> Win98 box.

I'll just wait a while longer before trying to use it, then.

> 
> Regards,
> Stipe

Vielen Dank und Beste Gruesse(*),

// Christian Brunschen

(*): Diese Tastatur hat natuerlich weder das U" noch das SZ ...


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Pthreads in cygwin
  1999-02-18  1:37 Pthreads in cygwin Christian Brunschen
  1999-02-18  2:31 ` Stipe Tolj
@ 1999-02-28 23:02 ` Christian Brunschen
  1 sibling, 0 replies; 10+ messages in thread
From: Christian Brunschen @ 1999-02-28 23:02 UTC (permalink / raw)
  To: cygwin

Hi,

I was wondering how I would go about using pthreads in cygwin? The b20.1
release does not appear to support them, but more recent snapshots do
contain what looks like pthreads support.

Best regards 

// Christian Brunschen



--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Pthreads in cygwin
  1999-02-18 11:37         ` Christopher Faylor
  1999-02-18 15:14           ` Stipe Tolj
@ 1999-02-28 23:02           ` Christopher Faylor
  1 sibling, 0 replies; 10+ messages in thread
From: Christopher Faylor @ 1999-02-28 23:02 UTC (permalink / raw)
  To: Christian Brunschen, Stipe Tolj; +Cc: cygwin

On Thu, Feb 18, 1999 at 11:42:47AM +0100, Christian Brunschen wrote:
>On Thu, 18 Feb 1999, Stipe Tolj wrote:
>
>> > I was wondering how I would go about using pthreads in cygwin? The b20.1
>> > release does not appear to support them, but more recent snapshots do
>> > contain what looks like pthreads support.
>> 
>> That's right. Recent snapshots support the --enable-threadsafe for the
>> configure process. The build cygwin1.dll and dependend libs will implement
>> some pthread_* functions as usually available within the libpthread.a
>> library (i.e. MIT's pthread) on other systems.
>> 
>> As Geoffrey and other from Cygnus have stated the pthread functions within
>> the latest snapshots are *very expertimental* and may not work at all.
>
>Ah, great :)
>
>Thanks for your help!
>
>> 
>> I have tried to compile some simple example programs using pthread
>> functions. They do build, but crash with a segmentation fault error on a
>> Win98 box.
>
>I'll just wait a while longer before trying to use it, then.

Actually, since this is a free software project, I was kinda hoping that
people might be willing to provide fixes for any problems they are
running across.  Waiting for things to improve will probably work but
volunteers could speed this along.

Otherwise, if anyone wants to send *detailed* information on problems I
can at least archive it until we have time to work on pthreads again.
Detailed information would be, at a minimum, a stack dump from the
SIGSEGV, minimal source code to reproduce the problem, and instructions
for reproducing the problem.

cgf

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~1999-02-28 23:02 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-02-18  1:37 Pthreads in cygwin Christian Brunschen
1999-02-18  2:31 ` Stipe Tolj
     [not found]   ` < 36CBEB4D.1596E9F8@uni-duesseldorf.de >
1999-02-18  2:42     ` Christian Brunschen
     [not found]       ` < Pine.LNX.4.05-df.9902181139530.29904-100000@bartlet.df.lth.se >
1999-02-18 11:37         ` Christopher Faylor
1999-02-18 15:14           ` Stipe Tolj
1999-02-28 23:02             ` Stipe Tolj
1999-02-28 23:02           ` Christopher Faylor
1999-02-28 23:02       ` Christian Brunschen
1999-02-28 23:02   ` Stipe Tolj
1999-02-28 23:02 ` Christian Brunschen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).