Is there a possibility to get a kthread ID inside a kthread?
Just like pthread_self(3).
--
Dixi.
Sem.
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECT
Sergey Matveychuk <[EMAIL PROTECTED]> writes:
> Is there a possibility to get a kthread ID inside a kthread?
> Just like pthread_self(3).
curthread?
DES
--
Dag-Erling Smørgrav - [EMAIL PROTECTED]
___
freebsd-hackers@freebsd.org mailing list
http://list
On Thursday 25 October 2007 11:02, Sergey Matveychuk wrote:
> Is there a possibility to get a kthread ID inside a kthread?
> Just like pthread_self(3).
In function kthread_exit there you see that you can obtain the
thread-structure with curthread.
And then in this thread-structure is the field t
Thanks to everyone who applied. The OpenBSD approach to setting UFTDI baud
rates is definitely superior.
However, the root of my problem turned out to be Python. Even with the new
baud rate hardcoded in the UFTDI kernel module and manually added to termios.h,
Python was refusing to admit that
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/serialconsole-setup.html
Thanks for the pointers. I am currently unable to access
www.freebsd.org for some reason. It appears that I get a timeout trying
to retrieve anything from the web site. Other folks in my office seem
to h
On Wednesday 24 October 2007 05:06:39 pm M. Warner Losh wrote:
> In message: <[EMAIL PROTECTED]>
> Bob Bishop <[EMAIL PROTECTED]> writes:
> : Hi,
> :
> : On 23 Oct 2007, at 20:45, Ivan Voras wrote:
> :
> : > Bob Bishop wrote:
> : >> Hi,
> : >>
> : >> The whole USB kit and caboodle is
On Thu, Oct 25, 2007 at 10:36:28AM -0700, Sean Bruno wrote:
> Thanks for the pointers. I am currently unable to access www.freebsd.org
> for some reason. It appears that I get a timeout trying to retrieve
> anything from the web site. Other folks in my office seem to have the same
> problem,
Jeremy Chadwick wrote:
On Thu, Oct 25, 2007 at 10:36:28AM -0700, Sean Bruno wrote:
Thanks for the pointers. I am currently unable to access www.freebsd.org
for some reason. It appears that I get a timeout trying to retrieve
anything from the web site. Other folks in my office seem to have
Dag-Erling Smørgrav wrote:
Sergey Matveychuk <[EMAIL PROTECTED]> writes:
Is there a possibility to get a kthread ID inside a kthread?
Just like pthread_self(3).
curthread?
well that's a thread pointer, but you are I guess correct because from there
you can get to curthread->td_tid which is t
In article <[EMAIL PROTECTED]> you wrote:
> On Wed, Oct 24, 2007 at 10:50:21AM -0700, Sean Bruno wrote:
>> I have a drive that contains two seperate bootable partitions(ad0s1a and
>> ad0s2a). The boot device selection menu(boot0?) appears to only be able to
>> support 9600 8N1. I wanted to run
If you want serial capability in boot0, you should set
BOOT_COMCONSOLE_SPEED=115200 in your make.conf. After you do that,
you'll need to rebuild the boot blocks. The procedure for doing that is
step 4 of Section 24.6.5.2 in the Handbook:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbo
On Thu, Oct 25, 2007 at 08:52:48AM -0700, Brooks Talley wrote:
> Thanks to everyone who applied. The OpenBSD approach to setting UFTDI baud
> rates is definitely superior.
>
> However, the root of my problem turned out to be Python. Even with the new
> baud rate hardcoded in the UFTDI kernel m
12 matches
Mail list logo