Skip to content
Snippets Groups Projects
Commit 07f8b6ec authored by Henrik (Grubba) Grubbström's avatar Henrik (Grubba) Grubbström
Browse files

Protect the module when threads actually are implemented as documented...

Rev: lib/modules/Thread.pmod:1.36
parent f777b759
No related branches found
No related tags found
No related merge requests found
...@@ -10,6 +10,11 @@ constant Thread=__builtin.thread_id; ...@@ -10,6 +10,11 @@ constant Thread=__builtin.thread_id;
// //
inherit Thread; inherit Thread;
// We don't want to create a thread of the module...
static void create(mixed ... args)
{
}
optional Thread `()( mixed f, mixed ... args ) optional Thread `()( mixed f, mixed ... args )
{ {
return thread_create( f, @args ); return thread_create( f, @args );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment