[beast: 67/95] SFI: use Bse::Cond, Bse::Mutex
- From: Tim Janik <timj src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [beast: 67/95] SFI: use Bse::Cond, Bse::Mutex
- Date: Mon, 25 Mar 2013 00:42:08 +0000 (UTC)
commit 00deb0a06bf634ebdc84df00bfb29fa9392231d5
Author: Tim Janik <timj gnu org>
Date: Wed Mar 20 04:21:55 2013 +0100
SFI: use Bse::Cond, Bse::Mutex
sfi/sficomport.hh | 4 ++--
sfi/sfiglue.cc | 6 +++---
2 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/sfi/sficomport.hh b/sfi/sficomport.hh
index 233ed8a..17de182 100644
--- a/sfi/sficomport.hh
+++ b/sfi/sficomport.hh
@@ -48,7 +48,7 @@ struct SfiComPort {
struct SfiComPortLink
{
- Rapicorn::Mutex mutex;
+ Bse::Mutex mutex;
guint ref_count;
SfiComPort *port1;
std::function<void()> wakeup1;
@@ -56,7 +56,7 @@ struct SfiComPortLink
std::function<void()> wakeup2;
SfiRing *p1queue;
SfiRing *p2queue;
- Rapicorn::Cond wcond;
+ Bse::Cond wcond;
bool waiting;
};
diff --git a/sfi/sfiglue.cc b/sfi/sfiglue.cc
index 4357f5e..23955d5 100644
--- a/sfi/sfiglue.cc
+++ b/sfi/sfiglue.cc
@@ -43,7 +43,7 @@ sfi_glue_context_push (SfiGlueContext *context)
g_return_if_fail (context != NULL);
g_return_if_fail (context->table.destroy != NULL);
- Rapicorn::ThreadInfo &self = Rapicorn::ThreadInfo::self();
+ Bse::ThreadInfo &self = Bse::ThreadInfo::self();
SfiRing *context_stack = self.swap_data (&context_stack_key, (SfiRing*) NULL); // prevents deletion
context_stack = sfi_ring_prepend (context_stack, context);
self.set_data (&context_stack_key, context_stack);
@@ -52,7 +52,7 @@ sfi_glue_context_push (SfiGlueContext *context)
SfiGlueContext*
sfi_glue_context_current (void)
{
- Rapicorn::ThreadInfo &self = Rapicorn::ThreadInfo::self();
+ Bse::ThreadInfo &self = Bse::ThreadInfo::self();
SfiRing *context_stack = self.get_data (&context_stack_key);
return (SfiGlueContext*) (context_stack ? context_stack->data : NULL);
}
@@ -60,7 +60,7 @@ sfi_glue_context_current (void)
void
sfi_glue_context_pop (void)
{
- Rapicorn::ThreadInfo &self = Rapicorn::ThreadInfo::self();
+ Bse::ThreadInfo &self = Bse::ThreadInfo::self();
SfiRing *context_stack = self.swap_data (&context_stack_key, (SfiRing*) NULL); // prevents deletion
g_return_if_fail (context_stack != NULL);
context_stack = sfi_ring_remove_node (context_stack, context_stack);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]