Changeset 09ab0a9a in mainline for uspace/app/rcutest/rcutest.c


Ignore:
Timestamp:
2018-09-13T12:05:53Z (7 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/app/rcutest/rcutest.c

    rb2aaaa0 r09ab0a9a  
    5151#include <rcu.h>
    5252
    53 
    54 
    5553#define USECS_PER_SEC (1000 * 1000)
    5654#define USECS_PER_MS  1000
     
    7270} test_desc_t;
    7371
    74 
    7572typedef struct test_info {
    7673        size_t thread_cnt;
    7774        test_desc_t *desc;
    7875} test_info_t;
    79 
    80 
    8176
    8277static bool run_all_tests(struct test_info *);
     
    8984static bool wait_for_exiting_reader(struct test_info *);
    9085static bool seq_test(struct test_info *);
    91 
    9286
    9387static test_desc_t test_desc[] = {
     
    167161}
    168162
    169 
    170163typedef errno_t (*fibril_func_t)(void *);
    171164
     
    306299        size_t failed;
    307300} one_reader_info_t;
    308 
    309301
    310302static errno_t sleeping_reader(one_reader_info_t *arg)
     
    389381} two_reader_info_t;
    390382
    391 
    392383static errno_t preexisting_reader(two_reader_info_t *arg)
    393384{
     
    550541} exit_reader_info_t;
    551542
    552 
    553543static errno_t exiting_locked_reader(exit_reader_info_t *arg)
    554544{
     
    579569        return 0;
    580570}
    581 
    582571
    583572static bool wait_for_exiting_reader(test_info_t *test_info)
     
    614603#undef WAIT_STEP_US
    615604
    616 
    617605/*--------------------------------------------------------------------*/
    618606
     
    633621        int failed;
    634622} seq_test_info_t;
    635 
    636623
    637624static void signal_seq_fibril_done(seq_test_info_t *arg, size_t *cnt)
     
    810797}
    811798
    812 
    813799static void print_usage(void)
    814800{
     
    820806        printf("\trcutest sanity-tests\n");
    821807}
    822 
    823808
    824809static bool parse_cmd_line(int argc, char **argv, test_info_t *info)
     
    882867}
    883868
    884 
    885869/**
    886870 * @}
Note: See TracChangeset for help on using the changeset viewer.