什么是 "prodecure call"?

What is "prodecure call"?

RPC(remote procedure call是一个俗称),但是procedure call的定义是什么?

来自https://pages.cs.wisc.edu/~remzi/OSTEP/cpu-mechanisms.pdf

ASIDE: WHY SYSTEM CALLS LOOK LIKE PROCEDURE CALLS

You may wonder why a call to a system call, such as open() or read(), looks exactly like a typical procedure call in C; that is, if it looks just like a procedure call, how does the system know it’s a system call, and do all the right stuff? The simple reason: it is a procedure call, but hidden inside that procedure call is the famous trap instruction.
....

分类是什么?还有其他xxxx调用分类吗?

程序只是 subroutines/functions 的另一个名称。

来自 source(强调我的)

In distributed computing, a remote procedure call (RPC) is when a computer program causes a procedure (subroutine) to execute in a different address space (commonly on another computer on a shared network), which is coded as if it were a normal (local) procedure call, without the programmer explicitly coding the details for the remote interaction.

source

Subroutines may be defined within programs, or separately in libraries that can be used by many programs. In different programming languages, a subroutine may be called a routine, subprogram, function, method, or procedure.

因此,过程调用只是对 subroutine/function 的调用。 这将调用过程中列出的步骤。

来自source

A procedure call is a simple statement made by stating the procedure name, listing actual parameter names or values within parentheses, and adding a final semi-colon.