Hans Petter Selasky 2682992483 When multiple threads are involved receiving completion events in LibUSB
make sure there is always a master polling thread, by setting the "ctx_handler"
field in the context. Else the reception of completion events can stop.
This happens if event threads are created and destroyed during runtime.

Found by:		Ludovic Rousseau <ludovic.rousseau+freebsd@gmail.com>
PR:			231742
MFC after:		1 week
Approved by:		re (kib)
Sponsored by:		Mellanox Technologies
2018-09-28 10:28:22 +00:00
..
2017-10-31 00:07:04 +00:00
2018-01-24 14:24:17 +00:00
2017-12-27 21:36:37 +00:00
2018-07-18 21:57:04 +00:00
2018-08-16 14:46:49 +00:00
2018-06-10 02:34:41 +00:00
2018-03-29 19:43:29 +00:00
2018-08-17 04:17:51 +00:00
2018-04-27 13:59:24 +00:00
2018-03-21 14:37:04 +00:00
2018-05-18 06:10:16 +00:00
2018-06-27 19:29:15 +00:00
2018-08-09 20:29:44 +00:00
2018-09-20 09:26:10 +00:00
2018-09-20 09:31:27 +00:00
2018-08-21 01:33:25 +00:00
2018-09-22 13:17:30 +00:00
2018-05-23 01:20:31 +00:00
2018-06-17 18:05:27 +00:00
2018-03-18 03:42:57 +00:00
2018-06-27 19:29:15 +00:00