Skip to content

Commit a2e06e2

Browse files
committed
Document a few exceptions for the calling thread
1 parent 887759c commit a2e06e2

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

vm/boostenv/main/boostenv-decl.hh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ public:
6464
BoostEnvironment(const VMStarter& vmStarter);
6565

6666
// VM Management
67+
// All public functions may be called by any thread!
6768

6869
public:
6970
inline

vm/boostenv/main/boostvm.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,7 @@ void BoostVM::run() {
163163
}
164164
}
165165

166+
// Called by the *IO thread*
166167
void BoostVM::onPreemptionTimerExpire(const boost::system::error_code& error) {
167168
if (error != boost::asio::error::operation_aborted &&
168169
!_terminationRequested) {

0 commit comments

Comments
 (0)