Date: Thu, 22 Oct 2009 16:20:32 +0800 From: "Yan, Yeqing" <yeqing.yan@intel.com> To: "hackers@freebsd.org" <hackers@freebsd.org> Subject: About FreeBSD syscall usage Message-ID: <95608CFE3D0C064B8468DB61F8403BE04A0D4A1C5E@PDSMSX501.ccr.corp.intel.com>
next in thread | raw e-mail | index | archive | help
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:kdk@daleco.biz] Sent: 2009Äê10ÔÂ21ÈÕ 22:18 To: Yan, Yeqing Cc: freebsd-questions@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 "hackers@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?95608CFE3D0C064B8468DB61F8403BE04A0D4A1C5E>
