CompuLab SBC-X270 Manual de usuario Pagina 71

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 226
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 70
SCIOPTA - Real-Time Kernel
User’s Manual Manual Version 4.1 7-3
SCIOPTA - Real-Time Kernel
7 Pools
7.4 Creating Pools
7.4.1 Static Pool Creation
Static pools are pools which are automatically created when the systems boots up. They are defined in the SCONF
configuration tool.
Figure 7-2: Pool Creation by SCONF
Please consult chapter 16.12 “Creating Processes and Pools” on page 16-18 for more information about module
creation by the SCONF t
ool.
7.4.2 Dynamic Pool Creation
Another way is to create modules dynamically by the sc_poolCreate system call.
static const sc_bufsize_t bufsizes[8]=
{
4,
8,
16,
32,
64,
128,
256,
700
};
myPool_plid = sc_poolCreate(
/* start-address */ 0,
/* total size */ 4000,
/* number of buffers */ 8,
/* buffersizes */ bufsizes,
/* name */ "myPool"
);
Figure 7-3: Dynamic Module Creation
Vista de pagina 70
1 2 ... 66 67 68 69 70 71 72 73 74 75 76 ... 225 226

Comentarios a estos manuales

Sin comentarios