rtlinux安装包


rtlinux安装包,支持linux内核版本2.4.0-2.6.9
资源截图
代码片段和文件信息
/*
 * RTLinux Hello World example
 *
 * Written by Michael Barabanov (baraban@fsmlabs.com)
 * Copyright (C) 1999-2000 Finite State Machine Labs Inc
 * Released under the terms of the GPL Version 2
 *
 */

#include 
#include 
#include 
#include 

#include 

pthread_t thread = 0;
pthread_t thread2 = 0;

void * start_routine(void *arg)
{
int i;
struct sched_param p;

volatile pthread_t self;
self = pthread_self();

p . sched_priority = 1;
pthread_setschedparam (pthread_self() SCHED_FIFO &p);

pthread_make_periodic_np (pthread_self() gethrtime() 500000000);

if (((int) arg) == 1) {
breakpoint();
}

for (i = 0; i < 20; i ++) {
pthread_wait_np ();
rtl_printf(“I‘m here; my arg is %x
“ (unsigned) arg);
}
return 0;
}

int init_module(void)
{
pthread_create (&thread NULL start_routine (void *) 1);
return pthread_create (&thread2 NULL start_routine (void *) 2);
}

void cleanup_module(void)
{
pthread_cancel (thread);
pthread_join (thread NULL);

pthread_delete_np (thread2);
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件          1  2003-03-01 19:49  root
tldoc-3.2-pre1RTLINUXFREE_3.2pre1

     文件      17660  2003-03-01 19:49  root
tldoc-3.2-pre1LEGAL_AND_FAQLICENSE.html

     文件      11522  2003-03-01 19:49  root
tldoc-3.2-pre1LEGAL_AND_FAQLICENSE.txt

     文件       5141  2003-03-01 19:49  root
tldoc-3.2-pre1LEGAL_AND_FAQcontrib.txt

     文件      22040  2003-03-01 19:49  root
tldoc-3.2-pre1LEGAL_AND_FAQgpl.html

     文件      18110  2003-03-01 19:49  root
tldoc-3.2-pre1LEGAL_AND_FAQgpl.txt

     文件      10721  2003-03-01 19:49  root
tldoc-3.2-pre1LEGAL_AND_FAQpatent.txt

     文件       3520  2003-03-01 19:49  root
tldoc-3.2-pre1docConfigure.help

     文件      17649  2003-03-01 19:49  root
tldoc-3.2-pre1docLICENSE.html

     文件        219  2003-03-01 19:49  root
tldoc-3.2-pre1docREADME

     文件       3807  2003-03-01 19:49  root
tldoc-3.2-pre1docRTLinux-RedHat7.X-HOWTO.txt

     文件       8163  2003-03-01 19:49  root
tldoc-3.2-pre1docRTLinux-SuSE8.0-HOWTO.txt

     文件        465  2003-03-01 19:49  root
tldoc-3.2-pre1doc
eleasenote.txt

     文件       1574  2003-03-01 19:49  root
tldoc-3.2-pre1doc
eleasenote3.2.txt

     文件       3995  2003-03-01 19:49  root
tldoc-3.2-pre1docupgrading.txt

     文件      89826  2003-03-01 19:49  root
tldoc-3.2-pre1dochtmlminirtl.html

     文件        891  2003-03-01 19:49  root
tldoc-3.2-pre1dochtmlGettingStartedGettingStarted.css

     文件      81652  2003-03-01 19:49  root
tldoc-3.2-pre1dochtmlGettingStartedGettingStarted.html

     文件          8  2003-03-01 19:49  root
tldoc-3.2-pre1dochtmlGettingStartedimages.aux

     文件       4906  2003-03-01 19:49  root
tldoc-3.2-pre1dochtmlGettingStartedimages.log

     文件       1038  2003-03-01 19:49  root
tldoc-3.2-pre1dochtmlGettingStartedimages.pl

     文件       9302  2003-03-01 19:49  root
tldoc-3.2-pre1dochtmlGettingStartedimages.tex

     文件        486  2003-03-01 19:49  root
tldoc-3.2-pre1dochtmlGettingStartedimg1.png

     文件       6279  2003-03-01 19:49  root
tldoc-3.2-pre1dochtmlGettingStartedimg2.png

     文件       7552  2003-03-01 19:49  root
tldoc-3.2-pre1dochtmlGettingStartedimg3.png

     文件        249  2003-03-01 19:49  root
tldoc-3.2-pre1dochtmlGettingStartedimg4.png

     文件      81652  2003-03-01 19:49  root
tldoc-3.2-pre1dochtmlGettingStartedindex.html

     文件       1038  2003-03-01 19:49  root
tldoc-3.2-pre1dochtmlGettingStartedinternals.pl

     文件       2030  2003-03-01 19:49  root
tldoc-3.2-pre1dochtmlGettingStartedlabels.pl

     文件        891  2003-03-01 19:49  root
tldoc-3.2-pre1dochtmlInstallationInstallation.css

............此处省略6899个文件信息

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。

发表评论

评论列表(条)