Thread: Simply question about Pthread

  1. #1
    Registered User
    Join Date
    May 2010
    Posts
    13

    Simply question about Pthread

    Hi,
    If I open a file for writing in main(), will all threads see the file already open? So can threads write directly to the file?

    Thanks!

  2. #2
    Registered User
    Join Date
    May 2010
    Location
    Naypyidaw
    Posts
    1,314

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. question about the pthread.
    By thungmail in forum C Programming
    Replies: 4
    Last Post: 10-31-2009, 09:38 PM
  2. Pthread question
    By gundamz2001 in forum C Programming
    Replies: 3
    Last Post: 09-16-2009, 04:04 AM
  3. pthread question
    By quantt in forum Linux Programming
    Replies: 7
    Last Post: 04-07-2009, 01:21 AM
  4. pthread question
    By rotis23 in forum Linux Programming
    Replies: 10
    Last Post: 04-07-2004, 02:57 AM
  5. simply question, structures
    By kiddprogrammer in forum C Programming
    Replies: 7
    Last Post: 04-09-2003, 11:09 AM