Thread-local storage issue

2011-09-14 Thread Thinker K.F. Li
Hi Guys, I was in trouble for an issue of TLS implementation of FreeBSD. It is an issue of ld-elf.so actually. If I have a thread-local variable in program, the value of the variable is not consistent after an dlopen(). For example, __thread int var = 50; void modify() { var = 100; } vo

Re: Get IP from ttyname(3)

2007-01-02 Thread Thinker
check man page for more information. -- Thinker Li - [EMAIL PROTECTED] [EMAIL PROTECTED] http://heaven.branda.to/~thinker/GinGin_CGI.py ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe,

USB Video class driver

2006-11-09 Thread Thinker
Hi, I am interest to know if FreeBSD has a USB Video Class driver project. I had seem a news from Creative which announce a new webcam following USB Video Class. It is time to start a Video Class driver for FreeBSD. -- Thinker Li (李圭烽) Mobile: 0968776647 E-Mail: [EMAIL PROTECTED] [EMAIL

Re: tuning a VERY heavily (30.0) loaded s cerver

2001-03-22 Thread thinker
On Wed, Mar 21, 2001 at 04:14:32PM -0300, Rik van Riel wrote: > The (maybe too lightweight) structure I have in my patch > looks like this: > > struct pte_chain { > struct pte_chain * next; > pte_t * ptep; > }; > > Each pte_chain hangs off a page of physical memory and the > ptep is