From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f173.google.com (mail-wi0-f173.google.com [209.85.212.173]) by dpdk.org (Postfix) with ESMTP id 0CECE8DA3 for ; Fri, 14 Aug 2015 12:14:06 +0200 (CEST) Received: by wijp15 with SMTP id p15so14410452wij.0 for ; Fri, 14 Aug 2015 03:14:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=Ac0OgiSrwYw/fSIIUUs1ON8MEn/aulYtitEVzdUeZF8=; b=c57aCIivd1oFeHCr+jFtRbnboPjmkeWrmDl97FVpXRf/kdSI6k0ekOmsWO4DmasQeK kiKUb1WwEYI0Hy02JzN7r+7KeBx4yeNFbP+4oBSyjCJCQCtA7NuGLcRi8mJ04sh3w17K bVCNxwFBOUVZE5BPunIaYM+0Cy2Ge6LQoNrl5WrB/oJn0gaOVWE0Sk1EU2o/QrxaBdHR sPSBOPdrwbjuv6JDXM0OMinzFny4rJWAN25XFYfXQY+1/jxD6o7qOBJSbb5I2Mm3e7Kf z91xHDv4R3CFqFFMR1Z6EDM+7uXSTlLlibPcoJk/STdbLhFhUpvP1XGqlKTph7qZzqFm ztrg== X-Received: by 10.180.108.19 with SMTP id hg19mr5293114wib.35.1439547245840; Fri, 14 Aug 2015 03:14:05 -0700 (PDT) MIME-Version: 1.0 Received: by 10.27.179.88 with HTTP; Fri, 14 Aug 2015 03:13:46 -0700 (PDT) From: Rajesh R Date: Fri, 14 Aug 2015 06:13:46 -0400 Message-ID: To: dev@dpdk.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] Can pthread_create be called directly in a dpdk application? X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Aug 2015 10:14:06 -0000 I am relatively new to dpdk. I could make the examples work. Now I am experimenting with a traffic measurement application which capture packets using dpdk. The application requires few other threads apart from the rte_threads. If I put the code for thread creation (pthread_create()) before calling eal_rte_init and remote_launch, the rte_init/remote launch is not proceeding. But if I put the eal_rte_init()/remote_launch first it is working, but coee will wait there and would not proceed to the subsequent lines How to do it correctly? -- Regards Rajesh R