A method within a multitasking data processing system for managing access to system resources by a user process, said data processing system including a memory having a user address space which stores an application program and a kernel address space which stores an operating system kernel, said method comprising:
- creating a user process within said user address space which has ownership of said system resources, said user process including a first kernel thread which comprises a schedulable unit of said application program;
- scheduling said first kernel thread to said processor for execution;
- in response to said processor processing an instruction within said first kernel thread which requires access to said system resources, creating a second kernel thread within said user process to perform said access to said system resources, wherein said second kernel thread executes out of said kernel address space;
- and
- thereafter, continuing execution of said first kernel thread within said user address space, wherein access to said system resources is accomplished by invoking a kernel thread within said user process.