This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\defbeamertemplate{footline}{progress bar}{ | |
\dimen0=\paperwidth | |
\multiply\dimen0 by \insertframenumber | |
\divide\dimen0 by \inserttotalframenumber | |
\edef\progressbarwidth{\the\dimen0} | |
\leavevmode% | |
\vbox{% | |
\hbox{% | |
\begin{beamercolorbox}[wd=0.9\paperwidth,ht=3ex,dp=2ex,leftskip=1.5ex]{section in head/foot} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <gtk/gtk.h> | |
static void copy(GtkClipboard *clipboard) | |
{ | |
gtk_clipboard_set_text(clipboard, "hello", -1); | |
gtk_clipboard_store(clipboard); | |
} | |
int main(int argc, char *argv[]) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/kernel/time/posix-timers.c b/kernel/time/posix-timers.c | |
index f2826c3..747de3a 100644 | |
--- a/kernel/time/posix-timers.c | |
+++ b/kernel/time/posix-timers.c | |
@@ -1015,6 +1015,9 @@ SYSCALL_DEFINE2(clock_settime, const clockid_t, which_clock, | |
struct k_clock *kc = clockid_to_kclock(which_clock); | |
struct timespec new_tp; | |
+ printk("syscall clock_settime by process %d STOPPED\n", current->pid); | |
+ return 0; |