OS
Hello World import tkinter as tk # Create a basic window app=tk.Tk() app.title("This is title") app.geometry('400x300+100+300') # Initial Position of window: (width, height, x, ) # Add Label
Feb 17, 2021本文整理常見(持續補充中)Synchronization、Work Defering機制,主要是將各種方法列出以避免未來使用上的混淆。 至於為什麼把timer、lock、deferring都放在一起整理的話...... 因為我自己感覺概念上都是要等一下在執行接下來的函數lol The kernel sleeping mechanism Introduce to Process Sleeping: You may relax a processor as soon as your process is waiting for something, and make sure a condition or something will wake it up. The kernel scheduler manages a list of tasks to run, known as a run queue.
Jan 6, 2021Atomic atomic_read、atomic_set、atomic_add、atomic_sub WRITE_ONCE(x,val) tatic __always_inline void __write_once_size(volatile void *p, void *res, int size) { //簡單變數之Atomic由MESI協定來確保 switch (size) { case 1: *(volatile __u8 *)p = *(__u8 *)res; break;
Dec 22, 20201.Install Anaconda 2.conda create -n pose python=3.6.8 3.conda activate pose 4.install pytorch conda install pytorch==1.0.1 torchvision==0.2.2 cudatoolkit=10.0 -c pytorch 5.install caffe2 requiements pip install future ^ hypothesis ^ numpy ^ protobuf ^ six
Oct 24, 2020or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up