Changeset c99816e in rtems-libbsd


Ignore:
Timestamp:
Oct 30, 2013, 2:24:00 PM (6 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, afaeccc05a556f6aa25ba044a7e49d6aa634a59e, freebsd-9.3, master
Children:
f0d189c
Parents:
2404264
git-author:
Sebastian Huber <sebastian.huber@…> (10/30/13 14:24:00)
git-committer:
Sebastian Huber <sebastian.huber@…> (10/31/13 12:18:54)
Message:

Implement sysctl_handle_opaque()

FIXME: The snapshots are not reliable.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • freebsd/sys/kern/kern_sysctl.c

    r2404264 rc99816e  
    11091109retry:
    11101110        generation = curthread->td_generation;
     1111#else /* __rtems__ */
     1112        int error;
     1113#endif /* __rtems__ */
    11111114        error = SYSCTL_OUT(req, arg1, arg2);
    11121115        if (error)
    11131116                return (error);
     1117#ifndef __rtems__
    11141118        tries++;
    11151119        if (generation != curthread->td_generation && tries < 3) {
     
    11171121                goto retry;
    11181122        }
     1123#endif /* __rtems__ */
    11191124
    11201125        error = SYSCTL_IN(req, arg1, arg2);
    11211126
    11221127        return (error);
    1123 #else /* __rtems__ */
    1124         /* FIXME */
    1125         return (0);
    1126 #endif /* __rtems__ */
    11271128}
    11281129
  • libbsd.txt

    r2404264 rc99816e  
    103103* TIMEOUT(9): Maybe use special task instead of timer server to call
    104104  callout_tick().
     105
     106* sysctl_handle_opaque(): Implement reliable snapshots.
    105107
    106108[listing]
Note: See TracChangeset for help on using the changeset viewer.