Skip to content
Snippets Groups Projects
  1. Aug 27, 2020
  2. Aug 17, 2020
  3. Aug 15, 2020
  4. Aug 14, 2020
  5. Aug 12, 2020
  6. Aug 11, 2020
    • jD91mZM2's avatar
      Run Linux tests in CI · d827c0f1
      jD91mZM2 authored
      commit 09cb17e66f46c6687fa0b9dc0895ad3279caa092
      Author: jD91mZM2 <me@krake.one>
      Date:   Mon Aug 10 18:03:20 2020 +0200
      
          comment out cargo tests
      
      commit 1915c7306e40f5c6af36b04c765e25ad9ffe9d16
      Author: jD91mZM2 <me@krake.one>
      Date:   Mon Aug 10 17:58:52 2020 +0200
      
          Update redoxer docker image
      d827c0f1
  7. Aug 08, 2020
    • Jeremy Soller's avatar
      Merge branch 'weaken_floattidf' into 'master' · 91f0be87
      Jeremy Soller authored
      Also weaken `__floattidf`
      
      See merge request !299
      91f0be87
    • Ahmed Abd El Mawgood's avatar
      Add (POSIX defined) struct flock · b5deadbe
      Ahmed Abd El Mawgood authored
      struct flock is posix defined locking mechanism on *nix platform
      
      Example usage (copied from https://gavv.github.io/articles/file-locks/) :
      
        #include <fcntl.h>
      
        struct flock fl;
        memset(&fl, 0, sizeof(fl));
      
        // lock in shared mode
        fl.l_type = F_RDLCK;
      
        // lock entire file
        fl.l_whence = SEEK_SET; // offset base is start of the file
        fl.l_start = 0;         // starting offset is zero
        fl.l_len = 0;           // len is zero, which is a special value representing end
                              // of file (no matter how large the file grows in future)
      
        fl.l_pid = 0; // F_SETLK(W) ignores it; F_OFD_SETLK(W) requires it to be zero
      
        // F_SETLKW specifies blocking mode
        if (fcntl(fd, F_SETLKW, &fl) == -1) {
          exit(1);
        }
      
        // atomically upgrade shared lock to exclusive lock, but only
        // for bytes in range [10; 15)
        //
        // after this call, the process will hold three lock regions:
        //  [0; 10)        - shared lock
        //  [10; 15)       - exclusive lock
        //  [15; SEEK_END) - shared lock
        fl.l_type = F_WRLCK;
        fl.l_start = 10;
        fl.l_len = 5;
      
        // F_SETLKW specifies non-blocking mode
        if (fcntl(fd, F_SETLK, &fl) == -1) {
            exit(1);
        }
      
        // release lock for bytes in range [10; 15)
        fl.l_type = F_UNLCK;
      
        if (fcntl(fd, F_SETLK, &fl) == -1) {
            exit(1);
        }
      
        // close file and release locks for all regions
        // remember that locks are released when process calls close()
        // on any descriptor for a lock file
        close(fd);
      b5deadbe
    • Ahmed Abd El Mawgood's avatar
      Add elf.h header to relibc · e14b3e09
      Ahmed Abd El Mawgood authored
      e14b3e09
  8. Aug 07, 2020
  9. Aug 05, 2020
  10. Aug 04, 2020
  11. Aug 03, 2020
  12. Aug 02, 2020
  13. Jul 30, 2020
  14. Jul 25, 2020
  15. Jul 20, 2020
Loading