Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Sep 1998 12:10:09 +0200
From:      Mats Lofkvist <mal@algonet.se>
To:        freebsd-current@FreeBSD.ORG
Subject:   pthreads and sync writes
Message-ID:  <199809201010.MAA21297@kairos>

next in thread | raw e-mail | index | archive | help
Is it possible to do a sync write from a thread without blocking
the process completely? I have tried with open(O_FSYNC) and by
calling fsync() after writev(), but neither seem to make any other
thread runnable.

Btw, O_FSYNC isn't documented in open.2. Fsync()ing also seems to
be sligtly faster, is this an illusion or is there a difference
in the semantics?

      _ 
Mats Lofkvist
mal@algonet.se

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809201010.MAA21297>