Changeset 45e1417 in rtems


Ignore:
Timestamp:
Aug 16, 2001, 10:22:16 PM (20 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Children:
770f6e9
Parents:
cbdb144
Message:

2001-08-16 Joel Sherrill <joel@…>

  • src/mqueuesendsupp.c: Account for possibly blocking during the core send operation.

2001-08-16 Joel Sherrill <joel@…>

  • src/msgqsubmit.c: Add a comment indicating that we do not have to account for possibly blocking during the core send operation because Classic API message queue send is always non-blocking.

2001-08-16 Joel Sherrill <joel@…>

  • include/rtems/score/coremsg.h, src/coremsgsubmit.c: Add a new return status to account for blocking sends. Otherwise, the caller will think that the returned message status will have the ultimate results of the operation. If the send times out, the final status will be in the return_code of the thread.

2001-08-16 Joel Sherrill <joel@…>

  • src/coremutexsurrender.c: Use holder thread not executing thread because even though they may and often are the same it is not guaranteed unless the proper attribute is set.

2001-08-16 Joel Sherrill <joel@…>

  • startup/linkcmds: Modified to work better with gcc 2.8.1 and gnat 3.13p.

2001-08-16 Joel Sherrill <joel@…>

  • tools/runtest.in: Recognize debug variant of monitor test.

2001-08-16 Joel Sherrill <joel@…>

  • sp13/sp13.scn: Id in screen had wrong class field value.
  • sp13/system.h: Account for message buffer memory.
  • sp13/task2.c: Remove unnecessary check for failure.

2001-08-16 Joel Sherrill <joel@…>

  • sp20/system.h: Account for extra task stacks properly.

2001-08-16 Joel Sherrill <joel@…>

  • include/tmacros.h: Attempt to print errno as further information.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libc/libio_sockets.c

    rcbdb144 r45e1417  
    3333  }
    3434  iop = &rtems_libio_iops[fd];
     35
     36  /* same as rtems_libio_check_is_open(iop) but different return */
     37  if ((iop->flags & LIBIO_FLAGS_OPEN) == 0) {
     38    errno = EBADF;
     39    return NULL;
     40  }
     41
    3542  if (iop->data1 == NULL)
    3643    errno = EBADF;
Note: See TracChangeset for help on using the changeset viewer.