diff tango/tango/core/Thread.di @ 184:f5ca6bbbf1d7 trunk

[svn r200] Fixed: removed use of std.intrinsic. Fixed: module info could potentially be masked by a previous reference, resulting in linking failure.
author lindquist
date Wed, 07 May 2008 22:01:59 +0200
parents 1700239cab2e
children
line wrap: on
line diff
--- a/tango/tango/core/Thread.di	Wed May 07 20:22:42 2008 +0200
+++ b/tango/tango/core/Thread.di	Wed May 07 22:01:59 2008 +0200
@@ -33,7 +33,7 @@
 }
     extern (Windows) 
 {
-    alias uint(* btex_fptr)(void*);
+    alias uint function(void*) btex_fptr;
 }
     extern (C) 
 {
@@ -102,7 +102,7 @@
 }
 class Thread
 {
-    this(void(* fn)(), size_t sz = 0)
+    this(void function() fn, size_t sz = 0)
 in
 {
 assert(fn);
@@ -267,7 +267,7 @@
     char[] m_name;
     union
 {
-void(* m_fn)();
+void function() m_fn;
 void delegate() m_dg;
 }
     size_t m_sz;
@@ -481,7 +481,7 @@
 {
     final
 {
-    Thread create(void(* fn)());
+    Thread create(void function() fn);
 }
     final
 {
@@ -594,7 +594,7 @@
 }
 class Fiber
 {
-    this(void(* fn)(), size_t sz = PAGESIZE)
+    this(void function() fn, size_t sz = PAGESIZE)
 in
 {
 assert(fn);
@@ -686,7 +686,7 @@
     Call m_call;
     union
 {
-void(* m_fn)();
+void function() m_fn;
 void delegate() m_dg;
 }
     bool m_isRunning;