Elliott Hughes dff7203ee9 Remove harmful attempts to be helpful in pthread_mutex functions.
Most callers won't check for EINVAL, so it's best to fail early.
GCC takes the nonnull attribute as a guarantee that an argument
won't be NULL, so these hacks were already ineffective, which is
how we found that at least one commercial game was using NULL
as if it's a mutex, but actually getting no-op behavior.

Bug: 11971278
Change-Id: I89646e043d931778805a8b692e07a34d076ee6bf
2013-12-11 14:54:00 -08:00
..
2013-06-12 14:14:53 -07:00
2013-11-19 14:08:54 -08:00
2013-02-25 13:14:31 -08:00
2013-08-08 00:42:39 +00:00
2013-11-19 14:08:54 -08:00
2013-08-08 17:52:06 -07:00
2009-03-03 19:28:35 -08:00
2013-10-22 12:03:19 -07:00
2013-09-19 14:11:26 -07:00
2013-08-07 15:41:30 -07:00
2013-11-19 14:08:54 -08:00
2013-12-11 12:41:54 -08:00
2013-11-18 19:48:11 -08:00
2013-11-18 19:48:11 -08:00
2012-12-10 11:20:57 -08:00
2013-02-25 13:14:31 -08:00
2013-10-09 17:35:36 -07:00
2013-10-09 17:35:36 -07:00
2013-10-17 11:36:55 -07:00
2013-10-17 11:36:55 -07:00
2013-10-17 11:36:55 -07:00
2013-10-17 11:36:55 -07:00
2013-10-17 11:36:55 -07:00
2013-10-17 11:36:55 -07:00
2013-10-17 11:36:55 -07:00
2013-10-03 17:31:50 -07:00
2013-10-01 11:10:21 -07:00
2013-10-01 11:10:21 -07:00
2010-10-15 02:16:16 +08:00
2013-11-05 11:59:06 -08:00