LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 09-04-2018, 06:04 AM   #1
promach
LQ Newbie
 
Registered: Mar 2018
Posts: 12

Rep: Reputation: Disabled
Why yield() and cond_resched() do not work in my code


Why riffa_driver.c yield() function does not yield to chnl_send() thread ?

Terminal and Code Screenshot : https://i.stack.imgur.com/6eJJd.png
Attached Thumbnails
Click image for larger version

Name:	yield_kernel_issue.jpg
Views:	28
Size:	236.3 KB
ID:	28527  
 
Old 09-10-2018, 11:46 AM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
Both are not guaranteed to actually do a reschedule. Why do you prefer those functions?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
lftp: multiple parallel sessions yield Login incorrect rwadecole Linux - Software 1 02-19-2017 05:55 PM
NVidia drivers yield blanked screen on Slackware 14.1 :( Lord-Ragnarock Linux - Software 9 12-26-2014 09:04 PM
any character matching doesn't yield expected result in PERL gaynut Programming 4 09-26-2008 01:04 AM
LXer: The Power of 'yield' in Ruby LXer Syndicated Linux News 0 05-29-2006 12:33 PM
chaintech soundcard doesn't yield sound fatblueduck Linux - Hardware 3 02-07-2006 12:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 04:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration