From ba0e07203439062348e0d039716439eebfe84217 Mon Sep 17 00:00:00 2001 From: "Frank Ch. Eigler" Date: Tue, 12 Aug 2014 15:57:01 -0400 Subject: [PATCH] runtime: plea with the gods for a lockless stp_print_flush --- runtime/print_flush.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/runtime/print_flush.c b/runtime/print_flush.c index 4c6fe921e..a742159e3 100644 --- a/runtime/print_flush.c +++ b/runtime/print_flush.c @@ -122,6 +122,10 @@ void EXPORT_FN(stp_print_flush)(_stp_pbuf *pb) * in a probe, which is fine. * * (see also _stp_ctl_send for a similar situation) + * + * A better solution would be to replace this + * concurrency-control-laden effort with a lockless + * algorithm. */ c = _stp_runtime_entryfn_get_context(); -- 2.43.5