for(y=1;y<10;y++) x=y; printf(“%d\n”,x); printf(%d\n”,y); it gives the output 9,10. why?
There are basically 8 runlevels in unix. Run Level: At any given time, the system is in one of eight possible run levels. A run level is a software configuration under which only a selected group of processes exists. Processes … Continue reading
i have complete semaphore,completion,spin_lock for multiple item
sir, i have use smaphore,blocking-IO,lseek on my character driver.
Sir we have only abstract knowledge about compilation process,linker, loader, and shared objects at run time,and about kernel modules at run time….So its important concept and we requested you to please organize comprehensible lecture on this topic……
partial write creates problem so i could not able to implement multiple quantum ,without partial write it is easy perform for multiple quantum , and it crates complexity so i want to freeze my self at single quantum ……….
sir, i have completed read & write in single as well as multi quantum.
i have complete read write operation for multiple item and llseek also done
Completed: open, close, read (single quantum, multiple quantum),write(single quantum, multiple quantum),semaphore(syn tech),LSEEK. Working: Completion, IOCTL. earlier ioctl (struct inode * inode, struct file * filp, unsigned int cmd, unsigned long arg) In 2.6.x the ioctl is divided in to 2 … Continue reading
problem is while traversing it gives the segmentation fault. #include<stdio.h> #include<unistd.h> #include<stdlib.h> struct linklist{ char **data; struct linklist *next; }*start,*temp,*last; int main() { int i,j,m,l; int quantams; char y; start=(struct linklist*)malloc(sizeof(struct linklist)); temp=(struct linklist*)malloc(sizeof(struct linklist)); //last->data=malloc(sizeof(char*)*); //printf(“enter the dat in … Continue reading
i have done sucessfully READ and WRITE operation in multiple quantum. i have also done synchonization technique Semaphore,Completion. now i m working on llsekk operation.
I have completed the read and write operation in driver for multiple quantum.now i m working on semphore operation.