Changeset 6155

Show
Ignore:
Timestamp:
24/08/09 12:37:46 (3 years ago)
Author:
westram
Message:
  • status was initialized again by multiprobe, causing termination of status process
    • added assertion to aw_initstatus to detect such wrong usage
Location:
trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/MULTI_PROBE/MP_main.cxx

    r5942 r6155  
    2323MP_Main::MP_Main(AW_root *awr,AWT_canvas *ntwt) 
    2424{ 
    25     aw_initstatus(); 
    2625    aw_root = awr; 
    2726    ntw     = ntwt; 
  • trunk/WINDOW/AW_status.cxx

    r6141 r6155  
    759759    int error; 
    760760 
     761    aw_assert(aw_stg.pid == 0); // do not init status twice! 
     762 
    761763    error = pipe(aw_stg.fd_to); 
    762764    if (error) {