Skip to content
Snippets Groups Projects
Select Git revision
  • master default protected
  • backup/alex-27
  • Test/file-system
  • Test/syscall-test-branch
  • josh/miscellaneous-improvements
  • alex/exit-system-call
  • josh/backup-alex-6
  • backup/Alex
8 results

thread.c

  • ja3-saxby's avatar
    d29b876b
    Fixed a small issue with `thread_exit_code()` · d29b876b
    ja3-saxby authored
    The return type of this function was previously `const int *`, which is mistaken as the data type of the variable it returns is in fact `int`.
    This inconsistency passes silently as ints and pointers are often interchangeable in C, however it is not good practice hence the correction.
    d29b876b
    History
    Fixed a small issue with `thread_exit_code()`
    ja3-saxby authored
    The return type of this function was previously `const int *`, which is mistaken as the data type of the variable it returns is in fact `int`.
    This inconsistency passes silently as ints and pointers are often interchangeable in C, however it is not good practice hence the correction.