From mboxrd@z Thu Jan 1 00:00:00 1970 From: marcus-sup@bar-coded.net (Marcus Williams) Date: Mon, 12 Nov 2007 09:23:59 +0000 Subject: [sup-talk] [PATCH] Title bar and status bar widget In-Reply-To: <1194827264-sup-5774@south> References: <1194518450-sup-4792@tomsk> <1194827264-sup-5774@south> Message-ID: <1194859333-sup-9479@tomsk> On 12.11.2007, William Morgan wrote: > So, either Ncurses.mutex needs to be a reentrant lock (I have played > around with this but haven't yet been able to get it to work), or the > code that runs these hooks needs to run outside of the lock (which takes > place in BufferManager#draw_screen and #completely_redraw_screen). Presumably after the unlock, rather than before the lock on the mutex if the stuff is redrawing? I'll resubmit later today. Marcus