• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Anything I should know about thread safety and fprintf?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Anything I should know about thread safety and fprintf?


  • Subject: Re: Anything I should know about thread safety and fprintf?
  • From: "Jonathan del Strother" <email@hidden>
  • Date: Thu, 24 Jan 2008 13:42:15 +0000

On Jan 24, 2008 1:12 PM, Terry Lambert <email@hidden> wrote:
> Please see my other posting. You are not fixing your underlying
> problem here.
>
> My personal suggested fix would be to marshal the data to a single
> thread for disposition.  Then your limit will be however much data you
> can jam down the drain pipe plus however much data you are willing to
> internally queue in your application in the marshalling process.
>

I'm only logging a few lines - maybe 500 characters in total - so I
can't see how I'd be overloading the queue.  Even if I did, presumably
the write() call ought to return eventually?

I haven't yet been able to reproduce this outside of Xcode - it's
tempting to blame it on an oddity in Xcode's run log and forget about
it...
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Anything I should know about thread safety and fprintf?
      • From: "Jonathan del Strother" <email@hidden>
References: 
 >Anything I should know about thread safety and fprintf? (From: "Jonathan del Strother" <email@hidden>)
 >Re: Anything I should know about thread safety and fprintf? (From: Terry Lambert <email@hidden>)
 >Re: Anything I should know about thread safety and fprintf? (From: "Jonathan del Strother" <email@hidden>)
 >Re: Anything I should know about thread safety and fprintf? (From: Terry Lambert <email@hidden>)
 >Re: Anything I should know about thread safety and fprintf? (From: "Jordan K. Hubbard" <email@hidden>)
 >Re: Anything I should know about thread safety and fprintf? (From: "Jonathan del Strother" <email@hidden>)
 >Re: Anything I should know about thread safety and fprintf? (From: "Jonathan del Strother" <email@hidden>)
 >Re: Anything I should know about thread safety and fprintf? (From: Terry Lambert <email@hidden>)

  • Prev by Date: Re: Anything I should know about thread safety and fprintf?
  • Next by Date: Re: Anything I should know about thread safety and fprintf?
  • Previous by thread: Re: Anything I should know about thread safety and fprintf?
  • Next by thread: Re: Anything I should know about thread safety and fprintf?
  • Index(es):
    • Date
    • Thread