bigloo.pthread.bglpthread.current_thread C# (CSharp) Method

current_thread() public static method

public static current_thread ( ) : Object
return Object
        public static Object current_thread()
        {
            Object o = Thread.GetData( Thread.GetNamedDataSlot( "bglcthread" ) );

             if( o is bglpthread ) {
            return ((bglpthread)o).thread;
             } else {
            return bigloo.foreign.BFALSE;
             }
        }