Changeset 09ab0a9a in mainline for uspace/lib/c/generic/thread/rcu.c


Ignore:
Timestamp:
2018-09-13T12:05:53Z (6 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
cc74cb5
Parents:
b2aaaa0
git-author:
Jiri Svoboda <jiri@…> (2018-09-13 07:09:46)
git-committer:
Jiri Svoboda <jiri@…> (2018-09-13 12:05:53)
Message:

Fix vertical spacing with new Ccheck revision.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/thread/rcu.c

    rb2aaaa0 r09ab0a9a  
    8181#include "../private/fibril.h"
    8282
    83 
    8483/** RCU sleeps for RCU_SLEEP_MS before polling an active RCU reader again. */
    8584#define RCU_SLEEP_MS        10
     
    9089#define RCU_GROUP_A         (size_t)(0 | RCU_NESTING_INC)
    9190#define RCU_GROUP_B         (size_t)(1 | RCU_NESTING_INC)
    92 
    9391
    9492/** Fibril local RCU data. */
     
    118116} blocked_fibril_t;
    119117
    120 
    121118/** Fibril local RCU data. */
    122119static fibril_local fibril_rcu_data_t fibril_rcu = {
     
    142139};
    143140
    144 
    145141static void wait_for_readers(size_t reader_group);
    146142static void force_mb_in_all_threads(void);
     
    154150static bool is_in_reader_section(size_t nesting_cnt);
    155151static size_t get_other_group(size_t group);
    156 
    157152
    158153/** Registers a fibril so it may start using RCU read sections.
     
    409404}
    410405
    411 
    412406static bool is_preexisting_reader(const fibril_rcu_data_t *fib, size_t group)
    413407{
     
    435429}
    436430
    437 
    438 
    439431/** @}
    440432 */
Note: See TracChangeset for help on using the changeset viewer.