Bona Fide OS Developer
View unanswered posts | View active topics It is currently Fri Nov 24, 2017 4:51 pm



Post new topic Reply to topic  [ 34 posts ]  Go to page Previous  1, 2, 3, 4  Next
 i cannot make kernel calls 
Author Message
Post Re: i cannot make kernel calls
YES!
Quote:
Maybe we should start a new thread on this topic :)


Thu Oct 15, 2009 12:16 pm

Joined: Wed Oct 14, 2009 9:39 am
Posts: 198
Location: United States
Post Re: i cannot make kernel calls
Code:
pid_t pid = fork();

if(pid == -1)
  printf("uhoh...");
  exit(2);

if(pid == 0)
  execvp("redirect", "a new thread");
  exit(2);

close(this->thead);

_________________
Charles Timko
push %esp ;Musings of a computer addict


Thu Oct 15, 2009 3:30 pm
Profile WWW
Post Re: i cannot make kernel calls
I GUESS I CAN EXPECT NO HELP HERE :x :(


Thu Oct 15, 2009 5:47 pm
Post Re: i cannot make kernel calls
do i need to start a new damn thread?


Fri Oct 16, 2009 12:17 am
Site Admin

Joined: Sat Jul 25, 2009 7:44 am
Posts: 274
Location: United Kingdom
Post Re: i cannot make kernel calls
If you want to start a new thread, feel free. Dont start getting your knickers in a twist.

_________________
Thank you for reading,

Kieran C G Foot


Fri Oct 16, 2009 2:59 am
Profile WWW

Joined: Wed Oct 14, 2009 9:39 am
Posts: 198
Location: United States
Post Re: i cannot make kernel calls
someone tell me they atleast got a good chuckle out of my response...

_________________
Charles Timko
push %esp ;Musings of a computer addict


Fri Oct 16, 2009 9:11 am
Profile WWW
Post Re: i cannot make kernel calls
ctimko wrote:
someone tell me they atleast got a good chuckle out of my response...

who?


Fri Oct 16, 2009 1:09 pm
Post Re: i cannot make kernel calls
ctimko wrote:
someone tell me they atleast got a good chuckle out of my response...

i just got it HAHA but really i need help


Fri Oct 16, 2009 8:50 pm

Joined: Wed Oct 14, 2009 9:39 am
Posts: 198
Location: United States
Post Re: i cannot make kernel calls
alright smeeze. i will go back through and read the whole thing again.

_________________
Charles Timko
push %esp ;Musings of a computer addict


Fri Oct 16, 2009 11:01 pm
Profile WWW

Joined: Wed Oct 14, 2009 9:39 am
Posts: 198
Location: United States
Post Re: i cannot make kernel calls
so from what i am reading i am understanding that you are trying to do a far jump. let me know if that is the case because the answer is somewhere in my kernel code from last year. havent worked with them in a while

_________________
Charles Timko
push %esp ;Musings of a computer addict


Fri Oct 16, 2009 11:05 pm
Profile WWW
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 34 posts ]  Go to page Previous  1, 2, 3, 4  Next


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by Vjacheslav Trushkin and tweaked by the BF Team.