Flexible I/O Tester development
 help / color / mirror / Atom feed
* question about fork_main()
@ 2009-04-09 18:49 Francis Moreau
  2009-04-20  1:16 ` Carl Henrik Lunde
  0 siblings, 1 reply; 6+ messages in thread
From: Francis Moreau @ 2009-04-09 18:49 UTC (permalink / raw)
  To: fio

hello,

I just took a look to fio source code (great tool BTW), and I'm
wondering about the fork_main() comment:

/*
 * We cannot pass the td data into a forked process, so attach the td
 * and pass it to the thread worker.
 */

Since after a fork(2) the child inherits the attached shared memory
segments from its parent, I don't see the point of this comment.

Could anybody enlight me ?

thanks.
-- 
Francis

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

end of thread, other threads:[~2009-04-21 19:13 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-09 18:49 question about fork_main() Francis Moreau
2009-04-20  1:16 ` Carl Henrik Lunde
2009-04-20  6:45   ` Jens Axboe
2009-04-21 18:37   ` Francis Moreau
2009-04-21 19:01     ` Jens Axboe
2009-04-21 19:13       ` Francis Moreau

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