Update of /cvsroot/javaprofiler/library/src/commun2
In directory usw-pr-cvs1:/tmp/cvs-serv1062/src/commun2
Modified Files:
prof_interface.cpp
Log Message:
shared memory implementation; java client and dynamic library can
now communicate thru sockets or shmem;
main README completely rewritten;
new classes - for shared memory, semaphores etc.;
java native class CommunShMem implementation
Index: prof_interface.cpp
===================================================================
RCS file: /cvsroot/javaprofiler/library/src/commun2/prof_interface.cpp,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -r1.8 -r1.9
*** prof_interface.cpp 2001/08/05 01:37:10 1.8
--- prof_interface.cpp 2001/08/23 23:57:31 1.9
***************
*** 21,26 ****
if( threadsSuspended) return;
gcLock.wait();
! jvmpiInterface->DisableGC();
dataLock.wait();
--- 21,28 ----
if( threadsSuspended) return;
+ communLock.release();
gcLock.wait();
! jvmpiInterface->DisableGC();
! communLock.wait();
dataLock.wait();
***************
*** 50,55 ****
dataLock.release();
! jvmpiInterface->EnableGC();
! gcLock.release();
}
}
--- 52,57 ----
dataLock.release();
! jvmpiInterface->EnableGC();
! gcLock.release();
}
}
***************
*** 503,509 ****
return getAllOrChanged( objId, what, seq, 0);
- }
-
- void Prof::idle() {
}
--- 505,508 ----
|