diff options
Diffstat (limited to 'executor')
| -rw-r--r-- | executor/executor.h | 1 | ||||
| -rw-r--r-- | executor/executor_bsd.cc | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/executor/executor.h b/executor/executor.h index 1c4bfc523..6741a4baf 100644 --- a/executor/executor.h +++ b/executor/executor.h @@ -93,6 +93,7 @@ struct thread_t { osthread_t th; char* cover_data; char* cover_end; + uint64* cover_size_ptr; event_t ready; event_t done; diff --git a/executor/executor_bsd.cc b/executor/executor_bsd.cc index d23f93fb8..e14d36109 100644 --- a/executor/executor_bsd.cc +++ b/executor/executor_bsd.cc @@ -167,6 +167,7 @@ void cover_open() fail("cover mmap failed"); th->cover_data = mmap_ptr; th->cover_end = mmap_ptr + mmap_alloc_size; + th->cover_size_ptr = (uint64*)mmap_ptr; } #endif } |
