- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi guys,
I'm using uCLinux with Microtronix distribution v 1.4 running on Nios II. gcc -v == 3.4.1 Thread model: single What's wrong with this code? # include <pthread.h> int main() { sched_param param; return 0; } For some reason, I get sched_param undeclared. Anybody has a clue? I even tried including# include <sched.h> to no avail. Also, even though thread runs fine, but the "Thread model: single" puzzles me. Shoudnt it be posix? If so, how does "single" affect me? S.Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
-- sched_param param;
++ struct sched_param param;
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page