Date: Thu, 22 Oct 2009 16:41:44 +0400 From: Stanislav Sedov <stas@deglitch.com> To: "Yan, Yeqing" <yeqing.yan@intel.com> Cc: "hackers@freebsd.org" <hackers@freebsd.org> Subject: Re: About FreeBSD syscall usage Message-ID: <20091022164144.064b916b.stas@deglitch.com> In-Reply-To: <95608CFE3D0C064B8468DB61F8403BE04A0D4A1C5E@PDSMSX501.ccr.corp.intel.com> References: <95608CFE3D0C064B8468DB61F8403BE04A0D4A1C5E@PDSMSX501.ccr.corp.intel.com>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] On Thu, 22 Oct 2009 16:20:32 +0800 "Yan, Yeqing" <yeqing.yan@intel.com> mentioned: > 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 > I fear there's no documentation on these syscalls exists. So for use information you'll have to refer to the actual source code of these syscalls/or and libc/libthr source code which makes uses of them. > > 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? > libkse (M:N threading) was default threading library on FreeBSD versions prior to 7.0, and the default has changed to libthr (1:1 threading in FreeBSD 7). libkse was completely removed in FreeBSD 8, but it is still functional on FreeBSD 7.x. -- Stanislav Sedov ST4096-RIPE [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- iQIcBAEBAgAGBQJK4FMNAAoJEKN82nOYvCd0Od4P/3Ka5/o3OF89/JIWKA/QmaYw aIYjLeFARk3zfbrC54ujArniQw4OmbU8peTEWCjZowL556ix03QCISUjBvgmOBln 7Sc2+w1tmwRgunW4RKa6b0qMfp2SMx2xR/YFqaJ7lahNonumZF4e4AtGsVnB9IWK QtwPITNvMAaa9JJiCbmjyT3NLJFvGm+Ewm6nSfo+5nSbU0Uw+PyueW5A2667pYAA 3ZeYCtAQksIfF0309qRbq5XsR+S2Ot4HmNBCgYdjUUWfV3XIgYfft5gh/NjRQecX taX8BTWgkAW+WDG9KfBRz4JMu9sh6f0tWaPXzRiV3WPni3UTEtdRnaZhzwLaHID/ gPQnSlxm86Ay3ZvRzX1cOJGtNHZKC2rFua0KP3fBYDG+cCPRr9XE/OiEWN4WT33F HbsUZvuy1gHAq5DAwVHmg+qP8MHsvtGwU3cHQ8ZtUaGBjBEVWepptLkSGl6XLcqr IYmZxyWS0QCOIGFQqHvT7rRfkXOE44S+A5kvJyscgU6QFD3+GhhQyYPLt/swgzTb KahwHyMOz9wvzPNAutXWT8QcRNSNbIgRZ66UcukQffulACbqlvv+08YYFVc2BmHJ xzX6PIYnUCmVVwPoWnM94Eo2BCumsl6ZcTZuRwvgPQf8vPuQUbUsZlAvVfFdlN0B raU/I5hXaCiVKY9q5NnH =vqQ4 -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20091022164144.064b916b.stas>
