Amount of threads per task?
Bjoern Doebel
doebel at os.inf.tu-dresden.de
Fri Aug 25 09:28:02 CEST 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
> When creating new threads within the L4Linux kernel, I "sometimes"
> (whatever that means) get the following output and error:
>
> *l4lx | l4lx_thread_create: Created thread 0e.1a (Command)
> --Thread names exhausted!--------------------------------IP: 0050758e
>
> What does that mean? After pressing "g", the system continues running.
> However when I try to kill the thread later, I get the following:
>
> --Unknown TID to delete thread name!---------------------IP: 0050760a
>
> Is it not possible to create more than 0x19 = 25 threads within the L4Linux
> kernel? Or am I doing anything wrong?
>
You don't make a mistake. The thread library has a default setting for the maximum number
of threads. You can increase this number by setting something like
const int l4thread_max_threads = 100;
in your application.
Bjoern
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFE7qaCP5ijxgQLUNkRAj3nAJ0TmY4S8inH/sDUFrfOc06s/O1NkACfbcuV
E5Dx/UyxbRaYT1vXxBV/YI4=
=K/sq
-----END PGP SIGNATURE-----
More information about the l4-hackers
mailing list