)]}'
{
  "commit": "91d90df2a7566b454d7023dc68646f2ba3c45e69",
  "tree": "530909987045f44e994b9be9cecfec03444a20cb",
  "parents": [
    "56610bdafb4d8f506218efa8270799301f795d74"
  ],
  "author": {
    "name": "Guennadi Liakhovetski",
    "email": "guennadi.liakhovetski@linux.intel.com",
    "time": "Wed Apr 07 15:34:30 2021 +0200"
  },
  "committer": {
    "name": "Anas Nashif",
    "email": "anas.nashif@intel.com",
    "time": "Mon May 03 17:13:01 2021 -0400"
  },
  "message": "p4wq: add support for per-CPU, per-queue and delayed threads\n\nCurrently P4WQ supports queues with sets of user-provided\nworked threads of arbitrary numbers. These threads are started\nimmediately upon initialisation.\n\nThis patch adds support for 3 more thread implementation options:\n\n1. queue per thread. It adds a K_P4WQ_ARRAY_DEFINE() macro which\n   initialises an array of queues and threads of the same number.\n   These threads are then uniquely assigned to respective queues.\n2. delayed start. With this option threads aren\u0027t started\n   immediately upon queue initialisation. Instead a new function\n   k_p4wq_enable_static_thread() has to be called to enable those\n   threads individually.\n3. queue per CPU. With this option the user can assign CPU masks\n   to threads when calling k_p4wq_enable_static_thread().\n   Otherwise the cpu_mask parameter to that function is ignored.\n   Currently enabling this option implies option 2 above. Also so\n   far to enable queues per CPU the user has to use\n   K_P4WQ_ARRAY_DEFINE(), which means this option also implies 1\n   above, but both these restrictions can be relaxed in the\n   future if required.\n\nSigned-off-by: Guennadi Liakhovetski \u003cguennadi.liakhovetski@linux.intel.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "9cf320e617de77fd9d4594b357086426ba9bf945",
      "old_mode": 33188,
      "old_path": "include/sys/p4wq.h",
      "new_id": "e7fb1ffa2ad5a97fae702d491891b4848b2b7e0d",
      "new_mode": 33188,
      "new_path": "include/sys/p4wq.h"
    },
    {
      "type": "modify",
      "old_id": "9cf6f07ab02cd17b92078a913e5891fa27dbf7b9",
      "old_mode": 33188,
      "old_path": "lib/os/p4wq.c",
      "new_id": "e3370682c3b3641ee94cceb6013b5c87442f1497",
      "new_mode": 33188,
      "new_path": "lib/os/p4wq.c"
    }
  ]
}
