tsl
更新动态库
This commit is contained in:
@@ -534,7 +534,7 @@ function pthread_create(f,p):integer;
|
||||
begin
|
||||
//attr := new pthread_attr_t();pthread_attr_init(attr);attr._setvalue_("stacksize",10240000);
|
||||
pth := 0;
|
||||
_f_ := static function(var thread:pointer;attr:pointer; f:pointer;arg:pointer):integer;cdecl; external getdlsymaddress( "libc.so.6" ,functionname(1));
|
||||
_f_ := static function(var thread:pointer;attr:pointer; f:pointer;arg:pointer):integer;cdecl; external getdlsymaddress( "libpthread.so.0" ,functionname(1));
|
||||
if 0= ##_f_(pth,0,f,p) then return pth;
|
||||
end
|
||||
/////////////////////gthread///////////////////////////////
|
||||
|
||||
Reference in New Issue
Block a user