syscall_cp does largely the same thing as syscall. However, it also checks for a current cancellation request, and exports some symbols (before and after the syscall call) which are used in the thread cancellation implementation. It makes it so the cancellation handler can know whether or not the cancellation request happened during or after a syscall. (if during, it needs to cancel the thread, if after, then it needs to continue executing until the next cancellation point.) On Fri, Jan 29, 2016 at 2:41 PM Max Ruttenberg < mruttenberg@emutechnology.com> wrote: > What is syscall_cp and what is it supposed to do that syscall isn't? > > > -- > Max Ruttenberg, > Member of the Technical Staff > Emu *Technology* > 1400 E Angela Blvd, Unit 101 > South Bend, IN 46617 >