0 votes 0 votes Consider the given statements: S1: kernel level threads can share the code segment. S2: A fork system call will be fail if the previously executed statement is also a fork call. S1 and S2 is false S1 and S2 is true S2 is true only S1 is true only nepobose asked Dec 17, 2018 nepobose 259 views answer comment Share Follow See all 4 Comments See all 4 4 Comments reply Hemanth_13 commented Dec 17, 2018 reply Follow Share D? 0 votes 0 votes Shubhgupta commented Dec 17, 2018 reply Follow Share Option D. threads share the code segment but i think they have different stack. failing of fork system call doesn't depend on any fork call. 0 votes 0 votes Shaijal Tripathi commented Dec 17, 2018 reply Follow Share D is correct. Threads of a process share the code and data segment but they have their own stacks and registers. Failure of a fork call depends on situations such as shortage of memory to allocate required space to the child process. It has nothing to do with execution of a previous fork() call. 0 votes 0 votes nepobose commented Dec 17, 2018 reply Follow Share Thanks 0 votes 0 votes Please log in or register to add a comment.