Changeset 3718 in Sophya for trunk/SophyaLib/SysTools/smakefile


Ignore:
Timestamp:
Dec 28, 2009, 10:05:51 PM (16 years ago)
Author:
ansari
Message:

1/ Corrections et modifications mineures ds ZThread, et ajout des classes

ParallelTaskInterface, ParalExThread, ParallelExecutor pour l'execution

de fonctions en parallele dans des threads, Reza 28/12/2009

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaLib/SysTools/smakefile

    r3615 r3718  
    44 
    55clean:
    6          rm -f $(SOPHYAOBJP)cexpre.o $(SOPHYAOBJP)commander.o $(SOPHYAOBJP)ctimer.o $(SOPHYAOBJP)cxxcmplnk.o $(SOPHYAOBJP)pdlmgr.o $(SOPHYAOBJP)periodic.o $(SOPHYAOBJP)psighand.o $(SOPHYAOBJP)resusage.o $(SOPHYAOBJP)rpneval.o $(SOPHYAOBJP)zthread.o $(SOPHYAOBJP)timing.o
     6         rm -f $(SOPHYAOBJP)cexpre.o $(SOPHYAOBJP)commander.o $(SOPHYAOBJP)ctimer.o $(SOPHYAOBJP)cxxcmplnk.o $(SOPHYAOBJP)parlex.o $(SOPHYAOBJP)pdlmgr.o $(SOPHYAOBJP)periodic.o $(SOPHYAOBJP)psighand.o $(SOPHYAOBJP)resusage.o $(SOPHYAOBJP)rpneval.o $(SOPHYAOBJP)zthread.o $(SOPHYAOBJP)timing.o
    77        rm -f $(SOPHYALIBP)libSysTools.a
    88 
    9 $(SOPHYALIBP)libSysTools.a : $(SOPHYAOBJP)cexpre.o $(SOPHYAOBJP)commander.o $(SOPHYAOBJP)ctimer.o $(SOPHYAOBJP)cxxcmplnk.o $(SOPHYAOBJP)pdlmgr.o $(SOPHYAOBJP)periodic.o $(SOPHYAOBJP)psighand.o $(SOPHYAOBJP)resusage.o $(SOPHYAOBJP)rpneval.o $(SOPHYAOBJP)timing.o $(SOPHYAOBJP)zthread.o
     9$(SOPHYALIBP)libSysTools.a : $(SOPHYAOBJP)cexpre.o $(SOPHYAOBJP)commander.o $(SOPHYAOBJP)ctimer.o $(SOPHYAOBJP)cxxcmplnk.o $(SOPHYAOBJP)parlex.o $(SOPHYAOBJP)pdlmgr.o $(SOPHYAOBJP)periodic.o $(SOPHYAOBJP)psighand.o $(SOPHYAOBJP)resusage.o $(SOPHYAOBJP)rpneval.o $(SOPHYAOBJP)timing.o $(SOPHYAOBJP)zthread.o
    1010        $(AR) $(ARFLAGS) $@ $?
    1111        touch $(SOPHYAINCP)/SophyaConfInfo/libsophya.objlist
    1212 
    13 $(SOPHYAOBJP)cexpre.o: cexpre.cc $(SOPHYAINCP)sopnamsp.h \
    14   cexpre.h $(SOPHYAINCP)machdefs.h \
     13$(SOPHYAOBJP)cexpre.o: cexpre.cc $(SOPHYAINCP)sopnamsp.h cexpre.h \
     14  $(SOPHYAINCP)machdefs.h \
     15  $(SOPHYAINCP)osx_values.h \
    1516  $(SOPHYAINCP)pexceptions.h \
    1617  $(SOPHYAINCP)machdefs.h \
    1718  $(SOPHYAINCP)srandgen.h \
     19  $(SOPHYAINCP)machdefs.h \
    1820  $(SOPHYAINCP)randinterf.h \
    19   $(SOPHYAINCP)anydataobj.h
     21  $(SOPHYAINCP)machdefs.h \
     22  $(SOPHYAINCP)anydataobj.h \
     23  $(SOPHYAINCP)machdefs.h
    2024        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  cexpre.cc
    2125 
    2226$(SOPHYAOBJP)commander.o: commander.cc $(SOPHYAINCP)sopnamsp.h \
    23   commander.h $(SOPHYAINCP)machdefs.h pdlmgr.h \
    24   $(SOPHYAINCP)dvlist.h \
    25   $(SOPHYAINCP)objfio.h \
     27  commander.h $(SOPHYAINCP)machdefs.h \
     28  $(SOPHYAINCP)osx_values.h pdlmgr.h \
     29  $(SOPHYAINCP)dvlist.h $(SOPHYAINCP)objfio.h \
    2630  $(SOPHYAINCP)machdefs.h \
    2731  $(SOPHYAINCP)anydataobj.h \
     32  $(SOPHYAINCP)machdefs.h \
    2833  $(SOPHYAINCP)ppersist.h \
     34  $(SOPHYAINCP)machdefs.h \
    2935  $(SOPHYAINCP)pexceptions.h \
    30   $(SOPHYAINCP)gnumd5.h \
     36  $(SOPHYAINCP)machdefs.h $(SOPHYAINCP)gnumd5.h \
    3137  $(SOPHYAINCP)ppfbinstream.h \
     38  $(SOPHYAINCP)machdefs.h \
    3239  $(SOPHYAINCP)rawstream.h \
     40  $(SOPHYAINCP)machdefs.h \
    3341  $(SOPHYAINCP)ppfnametag.h \
    34   $(SOPHYAINCP)mutyv.h \
    35   $(SOPHYAINCP)timestamp.h ctimer.h \
    36   $(SOPHYAINCP)strutil.h \
    37   $(SOPHYAINCP)strutilxx.h cexpre.h \
    38   $(SOPHYAINCP)pexceptions.h rpneval.h \
     42  $(SOPHYAINCP)ppersist.h $(SOPHYAINCP)mutyv.h \
     43  $(SOPHYAINCP)machdefs.h \
     44  $(SOPHYAINCP)timestamp.h \
     45  $(SOPHYAINCP)machdefs.h $(SOPHYAINCP)objfio.h \
     46  ctimer.h $(SOPHYAINCP)strutil.h \
     47  $(SOPHYAINCP)strutilxx.h \
     48  $(SOPHYAINCP)machdefs.h cexpre.h rpneval.h \
    3949  $(SOPHYAINCP)srandgen.h \
    40   $(SOPHYAINCP)randinterf.h zthread.h
     50  $(SOPHYAINCP)machdefs.h \
     51  $(SOPHYAINCP)randinterf.h \
     52  $(SOPHYAINCP)machdefs.h \
     53  $(SOPHYAINCP)anydataobj.h zthread.h
    4154        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  commander.cc
    4255 
    4356$(SOPHYAOBJP)ctimer.o: ctimer.cc $(SOPHYAINCP)machdefs.h \
    44   $(SOPHYAINCP)sopnamsp.h ctimer.h
     57  $(SOPHYAINCP)osx_values.h ctimer.h
    4558        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  ctimer.cc
    4659 
    4760$(SOPHYAOBJP)cxxcmplnk.o: cxxcmplnk.cc $(SOPHYAINCP)sopnamsp.h \
    4861  cxxcmplnk.h $(SOPHYAINCP)machdefs.h \
     62  $(SOPHYAINCP)osx_values.h \
    4963  $(SOPHYAINCP)sspvflags.h
    5064        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  cxxcmplnk.cc
    5165 
     66$(SOPHYAOBJP)parlex.o: parlex.cc parlex.h zthread.h \
     67  $(SOPHYAINCP)machdefs.h \
     68  $(SOPHYAINCP)osx_values.h \
     69  $(SOPHYAINCP)pexceptions.h \
     70  $(SOPHYAINCP)machdefs.h
     71        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  parlex.cc
     72 
    5273$(SOPHYAOBJP)pdlmgr.o: pdlmgr.cc $(SOPHYAINCP)machdefs.h \
     74  $(SOPHYAINCP)osx_values.h \
    5375  $(SOPHYAINCP)sopnamsp.h pdlmgr.h
    5476        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  pdlmgr.cc
    5577 
    5678$(SOPHYAOBJP)periodic.o: periodic.cc $(SOPHYAINCP)sopnamsp.h \
    57   $(SOPHYAINCP)machdefs.h periodic.h
     79  $(SOPHYAINCP)machdefs.h \
     80  $(SOPHYAINCP)osx_values.h periodic.h
    5881        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  periodic.cc
    5982 
    60 $(SOPHYAOBJP)psighand.o: psighand.cc $(SOPHYAINCP)sopnamsp.h \
    61   psighand.h $(SOPHYAINCP)machdefs.h \
     83$(SOPHYAOBJP)psighand.o: psighand.cc $(SOPHYAINCP)sopnamsp.h psighand.h \
     84  $(SOPHYAINCP)machdefs.h \
     85  $(SOPHYAINCP)osx_values.h \
    6286  $(SOPHYAINCP)pexceptions.h \
    6387  $(SOPHYAINCP)machdefs.h
    6488        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  psighand.cc
    6589 
    66 $(SOPHYAOBJP)resusage.o: resusage.cc $(SOPHYAINCP)sopnamsp.h \
    67   resusage.h $(SOPHYAINCP)machdefs.h
     90$(SOPHYAOBJP)resusage.o: resusage.cc $(SOPHYAINCP)sopnamsp.h resusage.h \
     91  $(SOPHYAINCP)machdefs.h \
     92  $(SOPHYAINCP)osx_values.h
    6893        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  resusage.cc
    6994 
    70 $(SOPHYAOBJP)rpneval.o: rpneval.cc $(SOPHYAINCP)sopnamsp.h \
    71   rpneval.h $(SOPHYAINCP)machdefs.h \
     95$(SOPHYAOBJP)rpneval.o: rpneval.cc $(SOPHYAINCP)sopnamsp.h rpneval.h \
     96  $(SOPHYAINCP)machdefs.h \
     97  $(SOPHYAINCP)osx_values.h \
    7298  $(SOPHYAINCP)pexceptions.h \
    7399  $(SOPHYAINCP)machdefs.h \
    74100  $(SOPHYAINCP)strutilxx.h \
     101  $(SOPHYAINCP)machdefs.h \
    75102  $(SOPHYAINCP)srandgen.h \
     103  $(SOPHYAINCP)machdefs.h \
    76104  $(SOPHYAINCP)randinterf.h \
    77   $(SOPHYAINCP)anydataobj.h
     105  $(SOPHYAINCP)machdefs.h \
     106  $(SOPHYAINCP)anydataobj.h \
     107  $(SOPHYAINCP)machdefs.h
    78108        $(CXXCOMPILE) $(CXXTEMPFLG) -o $@  rpneval.cc
    79109 
    80 $(SOPHYAOBJP)zthread.o: zthread.cc $(SOPHYAINCP)sopnamsp.h \
    81   zthread.h $(SOPHYAINCP)machdefs.h \
     110$(SOPHYAOBJP)zthread.o: zthread.cc $(SOPHYAINCP)sopnamsp.h zthread.h \
     111  $(SOPHYAINCP)machdefs.h \
     112  $(SOPHYAINCP)osx_values.h \
    82113  $(SOPHYAINCP)pexceptions.h \
    83114  $(SOPHYAINCP)machdefs.h
Note: See TracChangeset for help on using the changeset viewer.