OpenCores
URL https://opencores.org/ocsvn/c0or1k/c0or1k/trunk

Subversion Repositories c0or1k

[/] [c0or1k/] [trunk/] [conts/] [test_suite0/] [src/] [mthread/] [mthread.c] - Blame information for rev 2

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 drasko
/*
2
 * Copyright (C) 2010 B Labs Ltd.
3
 *
4
 * Tests client/server style container setup
5
 *
6
 * Author: Bahadir Balban
7
 */
8
#include <tests.h>
9
 
10
/*
11
 * A container can be set up in many different combinations
12
 * of hierarchy where the hierarchical differences between
13
 * the threads are determined by a finely grained capability
14
 * configuration.
15
 *
16
 * However, this boils down to two main sets of hierarchical
17
 * setup: client/server or multithreaded/standalone entities.
18
 *
19
 * This test tests the multithreaded/standalone style container
20
 * set up.
21
 */
22
int test_mthread(void)
23
{
24
        /* Create multiple threads in same space */
25
 
26
        /*
27
         * Set up childs' registers to execute the special
28
         * child entry function
29
         */
30
 
31
        /*
32
         * Start the child
33
         */
34
 
35
        /*
36
         * Run child threads and interact
37
         *
38
         * Handle short, full, extended ipc
39
         */
40
 
41
        /*
42
         * Destroy child
43
         */
44
 
45
        return 0;
46
}
47
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.