commit | c8dc04d4c00ed45bfe5f7acb34b0d2f6ab8b7f8d | [log] [tgz] |
---|---|---|
author | Matt Turner <mattst88@gmail.com> | Mon Jun 29 10:25:41 2015 -0700 |
committer | Matt Turner <mattst88@gmail.com> | Fri Sep 25 14:08:31 2015 -0700 |
tree | 32512ac0cbec4a63ddc7dcc6d0adfb84254c79d2 | |
parent | 266d05a3a0651ac954c91aea12c870940e8a9820 [diff] |
c11/threads: Assert that mtx is non-NULL and check return values. Passing NULL to C11 threads functions isn't safe, so there's no need for our implementation to handle it. Cuts about 1k of .text. text data bss dec hex filename 5009514 198440 26328 5234282 4fde6a i965_dri.so before 5008346 198440 26328 5233114 4fd9da i965_dri.so after Reviewed-by: Timothy Arceri <t_arceri@yahoo.com.au> Reviewed-by: Brian Paul <brianp@vmware.com>