JM プロジェクトは、主に Linux 関連のマニュアルページの日本語ページを翻訳・公開しています。
... alloc-thread"); sleep(100); /* Sleep until main thread terminates */ return NULL; } int main(int argc, char *argv[]) { int sleepTime; if (argc < 4) { fprintf(stderr, "%s num-threads num-blocks block-size [sleep-time]\n", argv[0]); exit(EXIT_FAILURE); } nu ... mThreads = atoi(argv[1]); numBlocks = atoi(argv[2]); blockSize = atoi(argv[3]); sleepTime = (argc > 4) ? atoi(argv[4]) : 0; pthread_t *thr = calloc(numThreads, sizeof(*thr)); if (thr == NULL) errExit("calloc"); p ... reads likely won't contend for malloc mutexes, and therefore additional arenas won't be allocated (see malloc (3)). */ if (sleepTime > 0) sleep(sleepTime); } /* The main thread also allocates some memory */ for (int j = 0; j < numBlocks; j++) if (malloc(b ... ... et 文字集合が特に指定されていない 8 ビットデータにラベル付けする際に 用いる、デフォルトの文字集合を設定します。 DialDelay= sleeptime コネクションの確立が失敗した場合に、再試行までに sleeptime だけスリープします。オンデマンドでダイヤル接続するサイトでの 使 ... 日本語の文書やマニュアルを配布している個人/プロジェクトへのリンクです。