Hi:

I’m from Intel China. Our project use FreeBSD 7.0. I have some question about 
syscall usage but I think mail to the wrong address before.

Is there having any doc or example about how to use these syscall?



kse_exit

kse_wakeup

kse_create

kse_thr_interrupt

kse_release

kse_switchin

I read $man kse, but I can not find any example about how to use it. I write 
some test codes to call these function but all these codes are failed.



mac_syscall

I read $man 3 mac, but I can not find the usage about mac_syscall function.



thr_create

thr_suspend

thr_kill2



By the way, it is said “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”

Does it mean the KSE syscall can be removed from FreeBSD 7.0?



Thank you very much!



-----Original Message-----
From: Kevin Kinsey [mailto:k...@daleco.biz]
Sent: 2009年10月21日 22:18
To: Yan, Yeqing
Cc: freebsd-questi...@freebsd.org
Subject: Re: Question about FreeBSD syscall usage



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 "hack...@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


Best Regards

Yan, Yeqing

_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Reply via email to