Changeset 52dcfd in git for libpolys


Ignore:
Timestamp:
Mar 15, 2024, 11:47:51 AM (7 weeks ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', 'b50cc4fc80fdf2a2005655a08d9229aa4b32d4a5')
Children:
a25471944a94ea396ef97405a6e1726cc9fffabc
Parents:
0fa1434183172e845f2edd11b3d0ac30ccdf38d2
Message:
interrupt handling in system calls
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpolys/reporter/si_signals.h

    r0fa143 r52dcfd  
    6161
    6262
    63 SI_EINTR_SAVE_FUNC(ssize_t, readv,
    64                    (int fd, const struct iovec *iov, int iovcnt),
    65                    (fd, iov,iovcnt))
     63//SI_EINTR_SAVE_FUNC(ssize_t, readv,
     64//                   (int fd, const struct iovec *iov, int iovcnt),
     65//                   (fd, iov,iovcnt))
    6666
    6767SI_EINTR_SAVE_FUNC(ssize_t, write, (int fd, const void *buf, size_t count),
    6868                   (fd, buf, count))
    6969
    70 SI_EINTR_SAVE_FUNC(ssize_t, writev, (int fd, const struct iovec *iov, int iovcnt),
    71                    (fd, iov, iovcnt) )
     70//SI_EINTR_SAVE_FUNC(ssize_t, writev, (int fd, const struct iovec *iov, int iovcnt),
     71//                   (fd, iov, iovcnt) )
    7272
    7373SI_EINTR_SAVE_FUNC_TEMPLATE(int, si_open1, open, (const char *pathname, int flags),
     
    8181#define si_open(...) SI_GET_FIFTH(X,##__VA_ARGS__, si_open2, si_open1)(__VA_ARGS__)
    8282
    83 SI_EINTR_SAVE_FUNC(int, creat, (const char *pathname, mode_t mode),
    84                    (pathname, mode))
     83//SI_EINTR_SAVE_FUNC(int, creat, (const char *pathname, mode_t mode),
     84//                   (pathname, mode))
    8585
    8686
     
    9595                   (sockfd, addr, addrlen))
    9696
     97#if 0
    9798/* @note: We respect that the user may explictely deactivate the
    9899 * restart feature by setting the second argumetn to NULL.
    99100 */
    100101static inline int
    101 si_nanosleep(const struct timespec *req, struct timespec *rem) {
    102 
     102si_nanosleep(const struct timespec *req, struct timespec *rem)
     103{
    103104  int res = -1;
    104105  do
     
    108109  return res;
    109110}
     111#endif
    110112
    111113static inline unsigned int
     
    119121}
    120122
    121 SI_EINTR_SAVE_FUNC(int, dup, (int oldfd), (oldfd))
     123//SI_EINTR_SAVE_FUNC(int, dup, (int oldfd), (oldfd))
    122124SI_EINTR_SAVE_FUNC(int, dup2, (int oldfd, int newfd), (oldfd, newfd))
    123125//SI_EINTR_SAVE_FUNC(int, dup3, (int oldfd, int newfd, int flags),
Note: See TracChangeset for help on using the changeset viewer.