Ignore:
Timestamp:
04/11/02 13:20:10 (23 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Cosy/base
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Cosy/base/MThread.cc

    r910 r1273  
    1010// Starts the derived thread if you don't specify false.
    1111//
    12 MThread::MThread(bool start) : fIsRunning(false), fIsDetached(false), fThread(NULL), fReturn(NULL), fPriority(0)
     12MThread::MThread(bool start, int prio) : fIsRunning(false), fIsDetached(false), fThread(NULL), fReturn(NULL)
    1313{
    1414    if (start)
     15    {
     16        SetPriority(prio);
    1517        Start();
     18    }
    1619}
    1720
  • trunk/MagicSoft/Cosy/base/MThread.h

    r1111 r1273  
    2626
    2727public:
    28     MThread(bool start=true);
     28    MThread(bool start=true, int prio=0);
    2929    virtual ~MThread();
    3030
  • trunk/MagicSoft/Cosy/base/coord.h

    r1109 r1273  
    118118    double Dec() const { return fY; }
    119119
     120    void Ra(double x)  { fX = x; }
     121    void Dec(double y) { fY = y; }
     122
    120123    RaDec operator/(double c) const { return RaDec(fX/c, fY/c); }
    121124    RaDec operator*(double c) const { return RaDec(fX*c, fY*c); }
  • trunk/MagicSoft/Cosy/base/msgqueue.cc

    r1266 r1273  
    5757
    5858        fRc=Proc(fMsg, fMp);
     59
     60        if (fMsg==WM_QUIT)
     61            break;
     62
    5963    }
    6064}
  • trunk/MagicSoft/Cosy/base/msgqueue.h

    r1109 r1273  
    55
    66#define WM_NULL 0x0000
     7#define WM_QUIT 0xffff
    78
    89class MsgQueue
Note: See TracChangeset for help on using the changeset viewer.