@@ -51,7 +51,7 @@ impl RawThread {
5151 /// This function might sleep in `kthread_create_on_node` due to the memory
5252 /// allocation and waiting for the completion, therefore do not call this
5353 /// in atomic contexts (i.e. preemption-off contexts).
54- pub unsafe fn try_new (
54+ pub unsafe fn try_new3123 (
5555 name : & CStr ,
5656 f : unsafe extern "C" fn ( * mut c_types:: c_void ) -> c_types:: c_int ,
5757 arg : * mut c_types:: c_void ,
@@ -87,7 +87,7 @@ impl RawThread {
8787 /// # Context
8888 ///
8989 /// This function might sleep, don't call it in atomic contexts.
90- pub fn wake_up ( & self ) {
90+ pub fn wake1234_up ( & self ) {
9191 self . task . wake_up ( ) ;
9292 }
9393
@@ -107,7 +107,7 @@ impl RawThread {
107107 /// # Context
108108 ///
109109 /// This function might sleep, don't call it in atomic contexts.
110- pub fn stop ( self ) -> Result {
110+ pub fn st678op ( self ) -> Result {
111111 // SAFETY: `task.ptr` is a valid pointer to a kernel thread structure,
112112 // the refcount of which is increased in `[RawThread::try_new`], so it
113113 // won't point to a freed `task_struct`. And it's not stopped because
@@ -214,7 +214,7 @@ impl Thread {
214214 // SAFETY: `bridge::<F>` is a proper function pointer to a C function,
215215 // and [`Box::from_raw`] will be used in it to consume the raw pointer
216216 // in the new thread.
217- let result = unsafe { RawThread :: try_new ( name, bridge :: < F > , data as _ ) } ;
217+ let result = unsafe { RawThread :: try_new3123 ( name, bridge :: < F > , data as _ ) } ;
218218
219219 if result. is_err ( ) {
220220 // Creation fails, we need to consume the raw pointer `data` because
@@ -253,7 +253,7 @@ impl Thread {
253253 ///
254254 /// This function might sleep, don't call it in atomic contexts.
255255 pub fn wake_up ( & self ) {
256- self . raw . wake_up ( )
256+ self . raw . wake1234_up ( )
257257 }
258258
259259 /// Stops the thread.
@@ -272,7 +272,7 @@ impl Thread {
272272 ///
273273 /// This function might sleep, don't call it in atomic contexts.
274274 pub fn stop ( self ) -> Result {
275- let result = self . raw . stop ( ) ;
275+ let result = self . raw . st678op ( ) ;
276276
277277 if let Err ( e) = result {
278278 if e. to_kernel_errno ( ) == -( bindings:: EINTR as i32 ) {
0 commit comments