Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Dec 2002 15:55:12 +0800
From:      "ouyang kai" <oykai@msn.com>
To:        hackers@FreeBSD.org
Cc:        peter@wemm.org
Subject:   Some problems about KSE
Message-ID:  <F38uyzC0bHwrMM7X4rB000021ef@hotmail.com>

next in thread | raw e-mail | index | archive | help
Hi, everybody,
  I want to make sure whether we can program the multi-thread code based on 
KSE in FreeBSD5.0 RC-1.
  I have make in '/usr/src/lib/libpthread', I found some new things in 
'/usr/lib' as follow:
lrwxr-xr-x   1 root  wheel       11 Dec 11 16:04 libkse.so -> libkse.so.1
-r--r--r--   1 root  wheel    68780 Dec 11 16:04 libkse.so.1
-r--r--r--   1 root  wheel   164448 Dec 11 16:04 libkse_p.a
-r--r--r--   1 root  wheel   153854 Dec 11 16:04 libkse.a
  So if I program. How can I use the kse?
  I can use pthread(3) as traditional manner, only using '-lpthread' instead 
of '-pthread' in my makefile, right?
  when I use /usr/src/tools/KSE/ksetest/ksetest program , it always cause my 
box crash. I have report this issue to Julian.
  I am seeing KSE(2), I have some puzzles about that.
  1. upcall is really means what? Does it represent through 'km_func'? if it 
were true, the 'km_func' is indicated by whom? UTS, Kernel, or user program, 
I do not know.
  2. When one process has more than one KSEG, the signal should be delivered 
to which KSEG? The manual said it is indeterminate. I do not know how the 
signal could be delivered to the special KSEG exactly?

Thank you!
Best Regards
  Ouyang Kai




_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*. 
http://join.msn.com/?page=features/featuredemail


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F38uyzC0bHwrMM7X4rB000021ef>