diff options
author | Matt Turner <[email protected]> | 2015-06-29 10:25:41 -0700 |
---|---|---|
committer | Matt Turner <[email protected]> | 2015-09-25 14:08:31 -0700 |
commit | c8dc04d4c00ed45bfe5f7acb34b0d2f6ab8b7f8d (patch) | |
tree | 32512ac0cbec4a63ddc7dcc6d0adfb84254c79d2 /src/mesa/program/prog_statevars.h | |
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 <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/program/prog_statevars.h')
0 files changed, 0 insertions, 0 deletions