I do full research, and i have found a freebasic lib for use multi-thread with Freedos and dpmi
Source code of THREADS.BAS :
Code: Select all
sub threadProcedure( byval userdata as any ptr )
for i as integer = 0 to 4
sleep 500, 1
print "starting thread..."
dim as any ptr threadid = threadcreate( @threadProcedure, 0 )
print "waiting for thread to finish..."
threadwait( threadid )
When compile, i have this.. can you help me please ? :/
With or not with -mt i have the same problem
I have tested of just copy "libfbmt.a" but i have the same problem