Skip to content
Snippets Groups Projects
  1. Aug 29, 2020
    • gback's avatar
      various fixes to leak test and added NDEBUG · ff94548e
      gback authored
      fixed test6 to include inner local tasks
      
      my own implementation leaked memory because of the custom allocator
      which wasn't tested before
      
      changed Makefile to set NDEBUG for benchmarking
      
      remove asserts. Critical failure must be aborted even when NDEBUG is on
      ff94548e
  2. Jul 17, 2020
  3. Jul 14, 2020
  4. Jul 13, 2020
  5. Jul 12, 2020
  6. Jul 08, 2020
  7. Jul 05, 2020
  8. Mar 14, 2017
    • ericrw96's avatar
      Merge branch 'fix-unchecked-return' into 'master' · 6f1520b3
      ericrw96 authored
      Fix unchecked return value to prevent VSCode compiler errors
      
      This error was reported by a student, who noticed when compiling in VSCode, the following error message was generated:
      
      ```
      threadpool_lib.c: In function 'count_number_of_threads':
      threadpool_lib.c:46:9 error: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Werror=unused-result]
          fgets(buf, sizeof buf, p);
          ^
      cc1: all warnings treated as errors
      <builtin>: recipe for target 'threadpool_lib.o' failed
      make: *** [threadpool_lib.o] Error 1
      ```
      
      I was not able to reproduce this problem in `clang` or `gcc` on my machine, but I figured it was worth the PR. We should be checking return values anyways.
      
      See merge request !4
      6f1520b3
    • James Taylor's avatar
  9. Oct 24, 2016
  10. Mar 23, 2016
  11. Mar 03, 2016
  12. Oct 20, 2015
  13. Jan 31, 2015
Loading