From 4dd5ceb11d62bd6b9af4847936314a9d8c45707f Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Wed, 2 Jul 2014 20:24:10 -0400 Subject: [PATCH] More new plans. --- newplan | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/newplan b/newplan index f6add49..5f51329 100644 --- a/newplan +++ b/newplan @@ -59,3 +59,11 @@ sending a message across threads will hang up the first thread during the send i GENERAL NOTES what about spinning an inner message pump during each event and run event handlers in their own goroutine? no, still subject to the same race condition that could lead to a double button press +another caveat I neve rnoticed before + [20:20] ,..ack + [20:20] I just realized osmething else about my API design + [20:21] I can't stop preemption during an event handle + [20:21] r + [20:23] no matter how I slice it I might have to have tow different sets of funcitons + [20:23] one for outside evernts and one for inside events + [20:23] yuck