Przemek: >:-) So this is working correctly. >Now we will have to check where it fails. >I'm attaching modified thread.c file. >Please put it in harbour/source/vm/ directory and rebuild Harbour. >Then try to compile and execute this time .prg code:
> proc main() > hb_threadJoin( hb_threadStart( @thFunc() ) ) > return > proc thFunc() > return > announce HB_GTSYS > request HB_GT_STD_DEFAULT >You should C on the screen sth like: > 1. HB_THREADSTART > 3. HB_THREADSTART > 1. hb_threadStartVM > 2. hb_threadStartVM > 3. hb_threadStartVM > 4. hb_threadStartVM > 6. hb_threadStartVM > 7. hb_threadStartVM >for clean execution. I guess it will be interrupted somewhere. Using -bm flag and hbvmmt ------------------- 1. HB_THREADSTART 1. hb_threadStartVM 3. HB_THREADSTART 2. hb_threadStartVM SYS1808: The process has stopped. The software diagnostic code (exception code) is 0001. ------------------- David Macias _______________________________________________ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour