Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Feb 2000 08:46:46 -0500 (EST)
From:      Zhihui Zhang <zzhang@cs.binghamton.edu>
To:        freebsd-questions@freebsd.org
Subject:   sched_yield() or pthread_yield()?
Message-ID:  <Pine.GSO.3.96.1000222084403.20034C-100000@sol.cs.binghamton.edu>

next in thread | raw e-mail | index | archive | help

I am planning to write a multi-threaded program, but I do not know whether
I should use sched_yied() or pthread_yield().

The former will give me NOSYS error, the latter does not appear in the man
pages.  I am using FreeBSD 3.3-Release.

Any help is appreciated.

-Zhihui



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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.3.96.1000222084403.20034C-100000>