>Please try mttest*.prg 1st. It will be easier to locate basic problems.

It is impossible, all them fail with SYS1808 error

For example mttest01.prg
---------------------------
Harbour 1.1.0dev (Rev. 9846)SYS1808:
The process has stopped.  The software diagnostic
code (exception code) is  0001.
---------------------------

and it happen trying:
   ? "join:", hb_threadJoin( hb_threadStart( @thFunc() ), @xResult )

Same with and without -bm flag

David Macias



Przemek:

Tests with current Harbour - OS/2 - With OpenWatcom 1.7 (Rev. 9846):

[E:\harbour810\harbour\tests]e:\harbour810\harbourow\bin\hbrun_mt.exe
speedtst.prg --scale

Using --scale cause this error:

--------------
11/06/08 05:08:24 OS/2 4.50
Harbour 1.1.0dev (Rev. 9846) (MT) Open Watcom C++ 12.70.8 (32-bit)
THREADS: 1
N_LOOPS: 1000000
                                                        1 th.  1 th.
factor
============================================================================
SYS1808:
The process has stopped.  The software diagnostic
code (exception code) is  0001.
--------------

Tracing it happen trying to execute
         hb_threadStart( "thTestScale", mtxJobs, mtxResults )
in section:
--------
   if lScale
      mtxJobs := hb_mutexCreate()
      mtxResults := hb_mutexCreate()
      nTimeTotST := nTimeTotMT := 0
      for i:=1 to nMT
         hb_threadStart( "thTestScale", mtxJobs, mtxResults )
      next
--------

but never enter to hb_threadStart( )
Perhaps error is for values in parameters ?

David Macias


_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to