lkml.org 
[lkml]   [2018]   [May]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectdefine struct workqueue_struct in C file
Hi all,
I have one confusion about workqueue_struct:
1) Why struct workqueue_struct is defined in C file instead of
header file?
I'm trying to print "workqueue_struct:name" field in one external
build module. "workqueue_struct:name" can't be accessed directly.

2) struct work_struct is defined in "workqueue.h", could struct
workqueue_struct also be defined in it?

--Thanks
Changcheng

\
 
 \ /
  Last update: 2018-05-24 17:12    [W:0.053 / U:0.388 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site