diff options
| author | Bjoern Brandenburg <bbb@mpi-sws.org> | 2012-05-17 09:44:56 -0400 |
|---|---|---|
| committer | Bjoern Brandenburg <bbb@mpi-sws.org> | 2012-05-17 09:44:56 -0400 |
| commit | 8ba27be920e6bd47442e33946783a38c0fa37356 (patch) | |
| tree | 2451465ba56fa8f2b79921644d9b1edb620d25c4 /native/src/sharedres.cpp | |
| parent | c2e3e08ef2ce90237b7b50efd0adc1e2848a3729 (diff) | |
C++: move spinlock bounds to corresponding implementations
Part of refactoring sharedres.cpp.
Diffstat (limited to 'native/src/sharedres.cpp')
| -rw-r--r-- | native/src/sharedres.cpp | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/native/src/sharedres.cpp b/native/src/sharedres.cpp index 5c8acee..1fbb452 100644 --- a/native/src/sharedres.cpp +++ b/native/src/sharedres.cpp | |||
| @@ -471,27 +471,3 @@ void merge_rw_requests(const TaskInfo &tsk, RWCounts &counts) | |||
| 471 | } | 471 | } |
| 472 | } | 472 | } |
| 473 | } | 473 | } |
| 474 | |||
| 475 | |||
| 476 | |||
| 477 | |||
| 478 | BlockingBounds* task_fair_mutex_bounds(const ResourceSharingInfo& info, | ||
| 479 | unsigned int procs_per_cluster, | ||
| 480 | int dedicated_irq) | ||
| 481 | { | ||
| 482 | // These are structurally equivalent. Therefore, no need to reimplement | ||
| 483 | // everything from scratch. | ||
| 484 | return clustered_omlp_bounds(info, procs_per_cluster, dedicated_irq); | ||
| 485 | } | ||
| 486 | |||
| 487 | |||
| 488 | BlockingBounds* phase_fair_rw_bounds(const ResourceSharingInfo& info, | ||
| 489 | unsigned int procs_per_cluster, | ||
| 490 | int dedicated_irq) | ||
| 491 | { | ||
| 492 | // These are structurally equivalent. Therefore, no need to reimplement | ||
| 493 | // everything from scratch. | ||
| 494 | return clustered_rw_omlp_bounds(info, procs_per_cluster, dedicated_irq); | ||
| 495 | } | ||
| 496 | |||
| 497 | |||
