----- Original Message ----
From: Adam Lackorzynski <adam@os.inf.tu-dresden.de>
To: l4-hackers@os.inf.tu-dresden.de
Sent: Monday, March 10, 2008 7:43:17 AM
Subject: Re: Failed to create a new task
Hi,
On
Sat
Mar
08,
2008
at
22:54:30
-0800,
ahmad
kamal
wrote:
>
I've
failed
to
create
a
new
task:
>
>
the
l4_task_new
in
my
code
return
0
(L4_NIL_ID)
which
is
indicate
>
either
the
task
was
create
as
inactive
or
didn't
create
at
all.
Good
you
have
posted
the
source.
I
think
the
problem
is
that
you
need
to
get
the
right
for
creating
new
tasks
first.
Depending
whether
simple_ts
is
started
or
not
you
need
to
use
l4ts_allocate_task2(0,
&tid)
or
rmgr_get_task(num)
before
the
l4_task_new.
Then
it
should
work.
Adam
--
Adam
adam@os.inf.tu-dresden.de
Lackorzynski
http://os.inf.tu-dresden.de/~adam/_______________________________________________
l4-hackers
mailing
list
l4-hackers@os.inf.tu-dresden.dehttp://os.inf.tu-dresden.de/mailman/listinfo/l4-hackers