comp.lang.ada
 help / color / mirror / Atom feed
* In case you need to remember...
@ 2012-04-06 15:20 mockturtle
  2012-04-06 15:32 ` Pascal Obry
  2012-04-06 20:09 ` anon
  0 siblings, 2 replies; 6+ messages in thread
From: mockturtle @ 2012-04-06 15:20 UTC (permalink / raw)


...how nice is having tasks built-in in your preferred language, I just landed over this text (Threads — Threat or Menace?)

   http://www.faqs.org/docs/artu/ch07s03.html#id2923889

Just an excerpt: 

  "Threads are a fertile source of bugs because they can too easily know too much about each others' internal states. There is no automatic encapsulation, as there would be between processes with separate address spaces that must do explicit IPC to communicate. Thus, threaded programs suffer from not just ordinary contention problems, but from entire new categories of timing-dependent bugs that are excruciatingly difficult to even reproduce, let alone fix."

Hmm... Why do I have this warm and cozy feeling? :-) 

BTW, a curiosity: does the Linux version of GNAT use threads to implement tasks? 

Riccardo



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

end of thread, other threads:[~2012-04-11 21:22 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-06 15:20 In case you need to remember mockturtle
2012-04-06 15:32 ` Pascal Obry
2012-04-06 20:09 ` anon
2012-04-06 20:14   ` Ludovic Brenta
2012-04-11 18:15   ` Shark8
2012-04-11 21:22     ` tmoran

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox