[SERVER-25062] Implement interruptible sleep and condition variable waitFor methods on OperationContext Created: 14/Jul/16 Updated: 08/Oct/18 Resolved: 15/Mar/17 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Internal Code |
| Affects Version/s: | None |
| Fix Version/s: | 3.5.5 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Andy Schwerin | Assignee: | Andy Schwerin |
| Resolution: | Done | Votes: | 1 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||
| Participants: | |||||||||||||||||||||
| Linked BF Score: | 0 | ||||||||||||||||||||
| Description |
|
To be implemented, at least: OperationContext::sleepUntil() |
| Comments |
| Comment by Githook User [ 15/Mar/17 ] |
|
Author: {u'name': u'Andy Schwerin', u'email': u'Andy Schwerin schwerin@mongodb.com'}Message: Its prior implementation kept a pointer to a dead OperationContext. Before prior |
| Comment by Andy Schwerin [ 15/Mar/17 ] |
|
Broken test on Windows. Reopening. |
| Comment by Githook User [ 15/Mar/17 ] |
|
Author: {u'name': u'Andy Schwerin', u'email': u'Andy Schwerin schwerin@mongodb.com'}Message: Since OperationContext::sleepFor is a thin wrapper around the predicate form of |
| Comment by Githook User [ 15/Mar/17 ] |
|
Author: {u'name': u'Andy Schwerin', u'email': u'Andy Schwerin schwerin@mongodb.com'}Message: This patch makes the return types of predicated waits on condition variables |
| Comment by Andy Schwerin [ 09/Mar/17 ] |
|
Forgot about a minor return type mistake in my implementations; will fix before re-resolving. |
| Comment by Githook User [ 09/Mar/17 ] |
|
Author: {u'name': u'Andy Schwerin', u'email': u'Andy Schwerin schwerin@mongodb.com'}Message: |