Google Mail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Message from discussion copying pthread_mutex_t, pthread_cond_t
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Follow-up To:
Add Cc | Add Follow-up to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers that you hear
 
Philip Guenther  
View profile   Translate to Translated (View Original)
 More options 4 July, 21:32
Newsgroups: comp.unix.programmer
From: Philip Guenther <guent...@gmail.com>
Date: Sat, 4 Jul 2009 13:32:28 -0700 (PDT)
Local: Sat 4 July 2009 21:32
Subject: Re: copying pthread_mutex_t, pthread_cond_t
On Jul 4, 2:50 am, James Kanze <james.ka...@gmail.com> wrote:

> Basically, is it legal to copy a pthread_mutex_t or a
> pthread_cond_t, and use the copy?

A program that does that invokes undefined behavior.

> If not (which is the only answer which makes sense to
> me), where does the Posix specification say this?

You know, you really ought to get your computer fixed so that you can
download your own copy of the standard or access the online copy.
Please read the fifth and fourth paragraphs, respectively, of the
DESCRIPTION sections of the following two pages:

http://www.opengroup.org/onlinepubs/9699919799/functions/pthread_mute...

http://www.opengroup.org/onlinepubs/9699919799/functions/pthread_cond...

I don't understand why David makes claims about what the standard says
or doesn't say which are not true.

Philip Guenther


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google