Problem: some context options have no getter

Solution: add one so that class-based bindings can easily use them
This commit is contained in:
Luca Boccassi
2018-11-18 12:13:19 +00:00
parent 92cf6c6451
commit 22c3ecc458
4 changed files with 45 additions and 2 deletions

View File

@@ -70,6 +70,7 @@ class thread_ctx_t
void start_thread (thread_t &thread_, thread_fn *tfn_, void *arg_) const;
int set (int option_, int optval_);
int get (int option_);
protected:
// Synchronisation of access to context options.