Question about FreeBSD syscall usage

Kevin Kinsey kdk at daleco.biz
Wed Oct 21 14:22:32 UTC 2009


Yan, Yeqing wrote:
> Hi:
> I'm from Intel China. Our project use FreeBSD 7.0 
 > and I have some questions about the FreeBSD syscall.
> I don't know how to use these syscall below.
> Is there having some doc or example about how to use these syscall?
> 
> kse_exit
> kse_wakeup
> kse_create
> kse_thr_interrupt
> kse_release
> kse_switchin
> 
> mac_syscall
> 
> thr_create
> thr_suspend
> thr_kill2
> 
> Thank you very much!
> 
> Best Regards
> Yan, Yeqing

Hello Yeqing,

You might want to write to "hackers at freebsd.org" ...
... some of those guys *wrote* these syscalls.  However,
since it's a question, I'll take a stab at it.

Have you read:

$man kse
$man 3 mac
$man libthr  ?

Also, see www.freebsd.org/kse/

However, I think that KSE was used in 5.x and 6.x
and then dropped in favor of a 1:1 threading model
when 7.0 was released (I'm sure some "hacker@" can
correct this information if I'm wrong).

I hope this is helpful to you.

Kevin Kinsey


More information about the freebsd-questions mailing list