Thread (25 messages) 25 messages, 3 authors, 2011-11-17

Re: [PATCH 04/16] HID: wiimote: Add extension support stub

flat view

From: Oliver Neukum <hidden>
Date: 2011-11-14 11:34:19

Am Montag, 14. November 2011, 12:26:28 schrieb David Herrmann:
I also know that wdata lives longer than wdata->ext so I cannot find
any race condition here. I have checked all four entry points of the
extension-module and they all seem fine here.

As long as wdata->ext is non-NULL, wiiext_schedule may be called. So I
first need to clear wdata->ext before I kill the worker. Otherwise the
worker may be respawned before I reset wdata->ext ;)
Hi,

thank you for the detailed explanation. Could you include a comment
to explain the unusual order things are done in this function?

	Regards
		Oliver
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help